#include <gmlib/number/uint256.h>

#include <stdexcept>
#include <cstring>

using namespace number;

void test_uint256_sub_borrow()
{
    uint256_t    minuend, subtrahend, sum;
    int          borrow;
    std::uint8_t differencedata[32];

    static std::uint8_t minuend0[32]    = {0x09,0x99,0x50,0xd8,0x36,0xf6,0x75,0xcc,0x81,0xe7,0x4e,0xf5,0xe8,0xe2,0x5d,0x94,0x0e,0xd9,0x04,0x75,0x95,0x31,0x98,0x5d,0x5d,0x9d,0xc9,0xf8,0x18,0x18,0xe8,0x11};
    static std::uint8_t subtrahend0[32] = {0xf2,0x9d,0x0d,0xa9,0x95,0x3f,0x48,0xf1,0xa0,0x9f,0x76,0xb5,0xa1,0x70,0xb3,0x38,0x39,0x26,0x30,0x59,0xf2,0x8c,0x10,0x5d,0x1f,0xb1,0x7c,0x23,0x90,0xc1,0x92,0xcf};
    static std::uint8_t sum0[32]        = {0x16,0xfc,0x43,0x2e,0xa1,0xb7,0x2c,0xda,0xe1,0x47,0xd8,0x40,0x47,0x71,0xaa,0x5b,0xd5,0xb2,0xd4,0x1b,0xa2,0xa5,0x88,0x00,0x3d,0xec,0x4d,0xd4,0x87,0x57,0x55,0x42};
    static int          borrow0         = -1;
    uint256_from_bytes(minuend, minuend0);
    uint256_from_bytes(subtrahend, subtrahend0);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum0, differencedata, 32) != 0 || borrow0 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend1[32]    = {0x30,0x18,0x50,0xc5,0xa3,0x8f,0xd5,0x47,0x92,0x3a,0x73,0x69,0x94,0xe3,0xbf,0x91,0x1a,0x61,0xdb,0xe2,0x2e,0x44,0x15,0x8b,0xae,0x97,0xba,0x94,0xd0,0xed,0xa8,0x2f};
    static std::uint8_t subtrahend1[32] = {0x34,0xb9,0xb5,0xdf,0x9e,0x77,0x69,0xb1,0x0f,0x42,0x05,0xb4,0x90,0x7a,0x70,0xc3,0x10,0x12,0xf0,0x37,0xb6,0x4c,0xe4,0x22,0x8c,0x38,0xfb,0x29,0x18,0xf1,0x35,0xd2};
    static std::uint8_t sum1[32]        = {0xfb,0x5e,0x9a,0xe6,0x05,0x18,0x6b,0x96,0x82,0xf8,0x6d,0xb5,0x04,0x69,0x4e,0xce,0x0a,0x4e,0xeb,0xaa,0x77,0xf7,0x31,0x69,0x22,0x5e,0xbf,0x6b,0xb7,0xfc,0x72,0x5d};
    static int          borrow1         = -1;
    uint256_from_bytes(minuend, minuend1);
    uint256_from_bytes(subtrahend, subtrahend1);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum1, differencedata, 32) != 0 || borrow1 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend2[32]    = {0xec,0x66,0xa7,0x87,0x95,0xe7,0x61,0xd1,0x77,0x31,0xaf,0x10,0x50,0x6b,0xf2,0xef,0xc6,0xf8,0x77,0x18,0x6d,0x76,0xb0,0x7e,0x88,0x1e,0xd1,0x62,0xae,0x2e,0xb1,0x54};
    static std::uint8_t subtrahend2[32] = {0x3e,0x7d,0x1b,0xfb,0xc7,0xa2,0xea,0x20,0xb2,0xf1,0x4c,0x94,0x2e,0x05,0x31,0x9a,0xcb,0x5c,0x74,0x27,0x3f,0x98,0xe2,0x77,0x4c,0xbd,0x87,0xad,0x5c,0x90,0xa9,0x58};
    static std::uint8_t sum2[32]        = {0xad,0xe9,0x8b,0x8b,0xce,0x44,0x77,0xb0,0xc4,0x40,0x62,0x7c,0x22,0x66,0xc1,0x54,0xfb,0x9c,0x02,0xf1,0x2d,0xdd,0xce,0x07,0x3b,0x61,0x49,0xb5,0x51,0x9e,0x07,0xfc};
    static int          borrow2         = 0;
    uint256_from_bytes(minuend, minuend2);
    uint256_from_bytes(subtrahend, subtrahend2);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum2, differencedata, 32) != 0 || borrow2 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend3[32]    = {0x72,0xe6,0xcc,0x3a,0xba,0xbc,0xed,0x20,0x57,0xee,0x05,0xcd,0xe0,0x09,0x02,0xc7,0x7e,0xbf,0xf2,0x06,0x86,0x73,0x47,0x21,0x4c,0xdd,0x20,0x55,0x93,0x0d,0x6e,0xaf};
    static std::uint8_t subtrahend3[32] = {0xc1,0xd3,0xfc,0xff,0x2a,0x3a,0xf4,0xd4,0x6b,0x0a,0x18,0xe8,0x83,0x0e,0x07,0xbc,0x1e,0x39,0x8f,0x10,0x12,0xbd,0x4a,0xce,0xfa,0xec,0xbd,0x38,0x9b,0xe4,0xbc,0xfc};
    static std::uint8_t sum3[32]        = {0xb1,0x12,0xcf,0x3b,0x90,0x81,0xf8,0x4b,0xec,0xe3,0xec,0xe5,0x5c,0xfa,0xfb,0x0b,0x60,0x86,0x62,0xf6,0x73,0xb5,0xfc,0x52,0x51,0xf0,0x63,0x1c,0xf7,0x28,0xb1,0xb3};
    static int          borrow3         = -1;
    uint256_from_bytes(minuend, minuend3);
    uint256_from_bytes(subtrahend, subtrahend3);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum3, differencedata, 32) != 0 || borrow3 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend4[32]    = {0xb1,0xfe,0xe0,0x8f,0x57,0x12,0x42,0x42,0x50,0x51,0xc1,0xcc,0xd1,0x7f,0x9a,0xca,0xe0,0x1f,0x50,0x57,0xca,0x02,0x13,0x5e,0x92,0xb1,0xd3,0xf2,0x8e,0xde,0x0d,0x7a};
    static std::uint8_t subtrahend4[32] = {0xb3,0x94,0xfb,0x36,0xbb,0x2d,0x42,0x0f,0x0f,0x88,0x08,0x0b,0x10,0xa3,0xd6,0xb2,0xaa,0x05,0xe1,0x1a,0xb2,0x71,0x59,0x45,0x79,0x5e,0x82,0x29,0x45,0x1a,0xbd,0x81};
    static std::uint8_t sum4[32]        = {0xfe,0x69,0xe5,0x58,0x9b,0xe5,0x00,0x33,0x40,0xc9,0xb9,0xc1,0xc0,0xdb,0xc4,0x18,0x36,0x19,0x6f,0x3d,0x17,0x90,0xba,0x19,0x19,0x53,0x51,0xc9,0x49,0xc3,0x4f,0xf9};
    static int          borrow4         = -1;
    uint256_from_bytes(minuend, minuend4);
    uint256_from_bytes(subtrahend, subtrahend4);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum4, differencedata, 32) != 0 || borrow4 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend5[32]    = {0xb7,0x74,0xeb,0x52,0x48,0xdb,0x40,0xaf,0x72,0x15,0x83,0x70,0xd2,0x69,0xa9,0xa5,0xae,0x65,0x8f,0x33,0xfe,0x3b,0x89,0x0b,0x93,0xf4,0x48,0xb3,0xa5,0xaa,0x3c,0x81};
    static std::uint8_t subtrahend5[32] = {0xbd,0x05,0x61,0xe6,0x21,0x1c,0x70,0xcf,0x49,0x95,0x23,0x99,0xc4,0xaa,0xea,0xc1,0x37,0xdc,0x76,0xfb,0x0f,0x17,0xa3,0x00,0x7e,0x62,0xaa,0x0a,0x1d,0xf9,0xfd,0x78};
    static std::uint8_t sum5[32]        = {0xfa,0x6f,0x89,0x6c,0x27,0xbe,0xcf,0xe0,0x28,0x80,0x5f,0xd7,0x0d,0xbe,0xbe,0xe4,0x76,0x89,0x18,0x38,0xef,0x23,0xe6,0x0b,0x15,0x91,0x9e,0xa9,0x87,0xb0,0x3f,0x09};
    static int          borrow5         = -1;
    uint256_from_bytes(minuend, minuend5);
    uint256_from_bytes(subtrahend, subtrahend5);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum5, differencedata, 32) != 0 || borrow5 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend6[32]    = {0x72,0xfd,0xf2,0x02,0x2a,0x96,0xfb,0x1a,0x14,0xa0,0xf9,0xe7,0x7f,0x1b,0x10,0x3c,0xdf,0x15,0x82,0xb0,0xea,0xb4,0x77,0xd2,0x64,0x15,0x47,0x9c,0x65,0xdc,0x9f,0x50};
    static std::uint8_t subtrahend6[32] = {0x8c,0xdb,0x30,0x5f,0xdd,0x2e,0x16,0x09,0x6e,0x36,0xaa,0xb0,0xd1,0xbc,0x52,0xd9,0x23,0x0d,0x97,0x7e,0xe2,0x25,0x71,0x59,0x47,0x20,0x77,0x1f,0x8c,0xa8,0x18,0x11};
    static std::uint8_t sum6[32]        = {0xe6,0x22,0xc1,0xa2,0x4d,0x68,0xe5,0x10,0xa6,0x6a,0x4f,0x36,0xad,0x5e,0xbd,0x63,0xbc,0x07,0xeb,0x32,0x08,0x8f,0x06,0x79,0x1c,0xf4,0xd0,0x7c,0xd9,0x34,0x87,0x3f};
    static int          borrow6         = -1;
    uint256_from_bytes(minuend, minuend6);
    uint256_from_bytes(subtrahend, subtrahend6);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum6, differencedata, 32) != 0 || borrow6 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend7[32]    = {0xf5,0x2d,0xdf,0x5d,0x61,0x64,0x99,0xc9,0xe2,0x5a,0x76,0x05,0xae,0xc6,0xf0,0x24,0x5b,0xd8,0x6d,0x40,0xfc,0x89,0x1b,0x4a,0x6a,0x50,0xdf,0x4d,0xb4,0xd6,0x6a,0x3a};
    static std::uint8_t subtrahend7[32] = {0x03,0x16,0x90,0x9e,0x3b,0xbb,0xe9,0xea,0xa8,0x94,0x8c,0x89,0x3b,0x61,0x86,0x76,0x26,0xbb,0x7d,0xbd,0x2d,0x1c,0x9a,0xf0,0x15,0x3e,0x7c,0x2a,0x26,0xa2,0xc0,0xbd};
    static std::uint8_t sum7[32]        = {0xf2,0x17,0x4e,0xbf,0x25,0xa8,0xaf,0xdf,0x39,0xc5,0xe9,0x7c,0x73,0x65,0x69,0xae,0x35,0x1c,0xef,0x83,0xcf,0x6c,0x80,0x5a,0x55,0x12,0x63,0x23,0x8e,0x33,0xa9,0x7d};
    static int          borrow7         = 0;
    uint256_from_bytes(minuend, minuend7);
    uint256_from_bytes(subtrahend, subtrahend7);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum7, differencedata, 32) != 0 || borrow7 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend8[32]    = {0x65,0xe7,0xe4,0x23,0x64,0x72,0xf1,0xa3,0x8f,0x2c,0x6e,0xc8,0xcc,0x41,0x69,0xa3,0xae,0x3a,0x2b,0x7f,0xdf,0xe0,0x18,0x93,0xf3,0xae,0xd0,0xb6,0xc7,0xac,0x14,0x91};
    static std::uint8_t subtrahend8[32] = {0x1a,0x35,0x8c,0xa0,0x0d,0x75,0x98,0x5d,0x99,0xc9,0x43,0x09,0x57,0x0d,0xc1,0x95,0x1c,0x24,0x42,0xf9,0x29,0x8c,0xb3,0xa5,0x70,0xcc,0xec,0x31,0x35,0x71,0x81,0x0a};
    static std::uint8_t sum8[32]        = {0x4b,0xb2,0x57,0x83,0x56,0xfd,0x59,0x45,0xf5,0x63,0x2b,0xbf,0x75,0x33,0xa8,0x0e,0x92,0x15,0xe8,0x86,0xb6,0x53,0x64,0xee,0x82,0xe1,0xe4,0x85,0x92,0x3a,0x93,0x87};
    static int          borrow8         = 0;
    uint256_from_bytes(minuend, minuend8);
    uint256_from_bytes(subtrahend, subtrahend8);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum8, differencedata, 32) != 0 || borrow8 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend9[32]    = {0x06,0x87,0x39,0xfa,0x9d,0x1d,0xe2,0xa0,0x5d,0x15,0x8a,0x2f,0xf2,0xee,0x4e,0x45,0x19,0xf9,0x91,0x9c,0x89,0x5f,0xd7,0xb3,0x26,0xb9,0x4c,0x7f,0x91,0x18,0xbb,0x16};
    static std::uint8_t subtrahend9[32] = {0xf4,0x99,0x8d,0x7c,0x40,0x93,0xf6,0xde,0xa2,0x68,0xaa,0x87,0x26,0x07,0x67,0x9d,0x60,0x50,0x91,0x4a,0x9d,0x33,0xa0,0x1c,0x35,0x3c,0x63,0x1c,0xdf,0xd4,0x3f,0x37};
    static std::uint8_t sum9[32]        = {0x11,0xed,0xac,0x7e,0x5c,0x89,0xeb,0xc1,0xba,0xac,0xdf,0xa8,0xcc,0xe6,0xe6,0xa7,0xb9,0xa9,0x00,0x51,0xec,0x2c,0x37,0x96,0xf1,0x7c,0xe9,0x62,0xb1,0x44,0x7b,0xdf};
    static int          borrow9         = -1;
    uint256_from_bytes(minuend, minuend9);
    uint256_from_bytes(subtrahend, subtrahend9);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum9, differencedata, 32) != 0 || borrow9 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend10[32]    = {0xbf,0xea,0xa1,0x55,0x1a,0x28,0xf7,0xb3,0x24,0xe4,0xe2,0x5a,0x15,0xfc,0x89,0x9e,0x4f,0xd5,0x8d,0xbe,0x7b,0xdc,0x96,0x8b,0x7a,0xfb,0x2c,0x68,0x77,0x4b,0x15,0xd7};
    static std::uint8_t subtrahend10[32] = {0x05,0xe9,0x99,0xf3,0x84,0x2e,0x7f,0xc2,0x29,0x54,0x0a,0x6e,0xb1,0x2a,0xa1,0xf6,0xd4,0x2f,0xdd,0xbb,0x7a,0x86,0xf7,0xa2,0x43,0xc7,0x1b,0x9a,0xbd,0x87,0xa8,0x65};
    static std::uint8_t sum10[32]        = {0xba,0x01,0x07,0x61,0x95,0xfa,0x77,0xf0,0xfb,0x90,0xd7,0xeb,0x64,0xd1,0xe7,0xa7,0x7b,0xa5,0xb0,0x03,0x01,0x55,0x9e,0xe9,0x37,0x34,0x10,0xcd,0xb9,0xc3,0x6d,0x72};
    static int          borrow10         = 0;
    uint256_from_bytes(minuend, minuend10);
    uint256_from_bytes(subtrahend, subtrahend10);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum10, differencedata, 32) != 0 || borrow10 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend11[32]    = {0xea,0x05,0x75,0x43,0x8b,0x0d,0x59,0x0b,0xb0,0xa8,0x44,0xe5,0x25,0x87,0xbe,0x6b,0x5c,0x9b,0xcf,0x35,0x87,0x3b,0xe0,0x78,0xf3,0xb7,0xa5,0x0d,0xf3,0x73,0xca,0x53};
    static std::uint8_t subtrahend11[32] = {0x56,0x75,0xf6,0xad,0x32,0x5b,0x55,0xdd,0x78,0x57,0x29,0x76,0x3a,0x12,0x91,0x7c,0x1a,0x26,0xf8,0x89,0x38,0x70,0x38,0x00,0x14,0x9e,0x25,0x9b,0x5d,0x58,0xc7,0x05};
    static std::uint8_t sum11[32]        = {0x93,0x8f,0x7e,0x96,0x58,0xb2,0x03,0x2e,0x38,0x51,0x1b,0x6e,0xeb,0x75,0x2c,0xef,0x42,0x74,0xd6,0xac,0x4e,0xcb,0xa8,0x78,0xdf,0x19,0x7f,0x72,0x96,0x1b,0x03,0x4e};
    static int          borrow11         = 0;
    uint256_from_bytes(minuend, minuend11);
    uint256_from_bytes(subtrahend, subtrahend11);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum11, differencedata, 32) != 0 || borrow11 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend12[32]    = {0x2d,0xb3,0x99,0x7f,0xe3,0x96,0x39,0xbe,0x7a,0x60,0x5a,0x91,0x33,0x06,0x98,0xa1,0xc0,0x09,0x34,0x92,0xb6,0x24,0x67,0x71,0xc8,0x45,0x00,0x70,0x63,0x77,0x14,0x07};
    static std::uint8_t subtrahend12[32] = {0xb8,0xc9,0x81,0x7a,0xf8,0xbe,0x88,0x31,0xf2,0x37,0xe4,0x5a,0xcd,0x02,0xc5,0xe1,0x16,0x35,0x3d,0x03,0x55,0x1f,0xd8,0xf9,0xa2,0xc6,0x8e,0x45,0xca,0x04,0xc7,0x9f};
    static std::uint8_t sum12[32]        = {0x74,0xea,0x18,0x04,0xea,0xd7,0xb1,0x8c,0x88,0x28,0x76,0x36,0x66,0x03,0xd2,0xc0,0xa9,0xd3,0xf7,0x8f,0x61,0x04,0x8e,0x78,0x25,0x7e,0x72,0x2a,0x99,0x72,0x4c,0x68};
    static int          borrow12         = -1;
    uint256_from_bytes(minuend, minuend12);
    uint256_from_bytes(subtrahend, subtrahend12);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum12, differencedata, 32) != 0 || borrow12 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend13[32]    = {0xa7,0xe6,0x52,0x9b,0xce,0x76,0xe9,0xf4,0x77,0x21,0x6e,0x9e,0xe7,0xa4,0x63,0x09,0x97,0x3f,0x79,0x86,0x26,0xb1,0xcf,0xfc,0x07,0x0d,0x71,0x09,0x20,0x85,0x96,0x34};
    static std::uint8_t subtrahend13[32] = {0x59,0xb4,0x4e,0x92,0xef,0xfd,0xde,0xea,0xa8,0x42,0xbc,0x19,0x79,0x6f,0x74,0xad,0xfa,0xf5,0x54,0x96,0x98,0x8a,0xf3,0xfb,0xd3,0x96,0x30,0xd6,0x9c,0x90,0x11,0xef};
    static std::uint8_t sum13[32]        = {0x4e,0x32,0x04,0x08,0xde,0x79,0x0b,0x09,0xce,0xde,0xb2,0x85,0x6e,0x34,0xee,0x5b,0x9c,0x4a,0x24,0xef,0x8e,0x26,0xdc,0x00,0x33,0x77,0x40,0x32,0x83,0xf5,0x84,0x45};
    static int          borrow13         = 0;
    uint256_from_bytes(minuend, minuend13);
    uint256_from_bytes(subtrahend, subtrahend13);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum13, differencedata, 32) != 0 || borrow13 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend14[32]    = {0xdf,0x2a,0x8b,0x79,0xfc,0x8e,0x80,0xb3,0x6f,0x0e,0x22,0x89,0x23,0xa5,0xef,0x88,0xef,0x02,0x09,0x0b,0xbf,0xde,0xfc,0x15,0x86,0xce,0x03,0xf9,0x1a,0x4f,0x44,0xf9};
    static std::uint8_t subtrahend14[32] = {0x80,0x4c,0x25,0xd6,0x4a,0xff,0xdc,0xd1,0x36,0x78,0xbc,0x8d,0x40,0x78,0x3f,0x0a,0x07,0x2a,0x98,0xd2,0x36,0x06,0xde,0xfc,0xdf,0xb8,0x5c,0x0d,0xd3,0x7e,0xe9,0x15};
    static std::uint8_t sum14[32]        = {0x5e,0xde,0x65,0xa3,0xb1,0x8e,0xa3,0xe2,0x38,0x95,0x65,0xfb,0xe3,0x2d,0xb0,0x7e,0xe7,0xd7,0x70,0x39,0x89,0xd8,0x1d,0x18,0xa7,0x15,0xa7,0xeb,0x46,0xd0,0x5b,0xe4};
    static int          borrow14         = 0;
    uint256_from_bytes(minuend, minuend14);
    uint256_from_bytes(subtrahend, subtrahend14);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum14, differencedata, 32) != 0 || borrow14 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend15[32]    = {0x21,0x8e,0x0b,0x7b,0xd5,0x8d,0xcd,0xb4,0x6b,0x44,0x68,0x06,0x8b,0x5a,0xb3,0xee,0x42,0x65,0xbb,0x31,0x53,0x74,0x09,0x02,0x96,0x20,0xbf,0x0d,0xc3,0x80,0x84,0xa0};
    static std::uint8_t subtrahend15[32] = {0x88,0x25,0xae,0x56,0x21,0x79,0xb3,0x7d,0x80,0x6c,0x10,0xb5,0xe0,0xcf,0xab,0x4c,0xea,0xef,0xc4,0xd2,0xd3,0xbf,0x6d,0x01,0x6b,0xae,0x4b,0x5b,0x84,0x4a,0x70,0x34};
    static std::uint8_t sum15[32]        = {0x99,0x68,0x5d,0x25,0xb4,0x14,0x1a,0x36,0xea,0xd8,0x57,0x50,0xaa,0x8b,0x08,0xa1,0x57,0x75,0xf6,0x5e,0x7f,0xb4,0x9c,0x01,0x2a,0x72,0x73,0xb2,0x3f,0x36,0x14,0x6c};
    static int          borrow15         = -1;
    uint256_from_bytes(minuend, minuend15);
    uint256_from_bytes(subtrahend, subtrahend15);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum15, differencedata, 32) != 0 || borrow15 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend16[32]    = {0x9b,0xca,0x3c,0xb7,0x2e,0xe0,0x28,0x9d,0xc6,0xc9,0x1b,0x92,0x70,0xac,0x06,0xac,0xdf,0x70,0x30,0x17,0x04,0xc9,0xd7,0x8d,0x82,0xb3,0x35,0x99,0x86,0x04,0x87,0x19};
    static std::uint8_t subtrahend16[32] = {0xb9,0xa6,0x44,0x2e,0x9e,0x7d,0x6b,0x37,0x79,0x36,0xd5,0x36,0x24,0x3d,0x35,0x70,0x2c,0x1e,0xea,0x1f,0x26,0x59,0x74,0xa7,0xcc,0x96,0x6f,0x46,0xc6,0xaa,0x7d,0x55};
    static std::uint8_t sum16[32]        = {0xe2,0x23,0xf8,0x88,0x90,0x62,0xbd,0x66,0x4d,0x92,0x46,0x5c,0x4c,0x6e,0xd1,0x3c,0xb3,0x51,0x45,0xf7,0xde,0x70,0x62,0xe5,0xb6,0x1c,0xc6,0x52,0xbf,0x5a,0x09,0xc4};
    static int          borrow16         = -1;
    uint256_from_bytes(minuend, minuend16);
    uint256_from_bytes(subtrahend, subtrahend16);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum16, differencedata, 32) != 0 || borrow16 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend17[32]    = {0x46,0xe4,0x09,0x90,0x30,0xf9,0x70,0x58,0x3f,0x9d,0x52,0xf9,0x0e,0x8b,0xec,0x94,0x8f,0x6f,0x91,0x5f,0xe2,0x1b,0x37,0xca,0x1b,0x29,0xfc,0x99,0xc6,0xc8,0x0e,0x2b};
    static std::uint8_t subtrahend17[32] = {0x83,0x1d,0x03,0xbf,0x9b,0x2b,0xd6,0xc0,0x81,0x6b,0xee,0x06,0xf9,0x2e,0x23,0x39,0x9c,0xce,0xa0,0x98,0x53,0x5b,0x6a,0x43,0x71,0x78,0xba,0x0a,0x10,0x38,0xf0,0xb5};
    static std::uint8_t sum17[32]        = {0xc3,0xc7,0x05,0xd0,0x95,0xcd,0x99,0x97,0xbe,0x31,0x64,0xf2,0x15,0x5d,0xc9,0x5a,0xf2,0xa0,0xf0,0xc7,0x8e,0xbf,0xcd,0x86,0xa9,0xb1,0x42,0x8f,0xb6,0x8f,0x1d,0x76};
    static int          borrow17         = -1;
    uint256_from_bytes(minuend, minuend17);
    uint256_from_bytes(subtrahend, subtrahend17);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum17, differencedata, 32) != 0 || borrow17 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend18[32]    = {0x6a,0xa8,0xb9,0xe0,0x23,0x1b,0x3e,0x14,0x72,0x91,0x35,0xbd,0xd7,0x0a,0x39,0xd1,0x33,0xdc,0xd7,0x7f,0xf1,0x79,0xf2,0xd2,0xe4,0x8b,0x96,0x62,0x8f,0x3c,0x4b,0xe3};
    static std::uint8_t subtrahend18[32] = {0x12,0xb8,0x0a,0xed,0x6d,0xa7,0x9a,0x87,0x3d,0x9a,0x80,0x79,0xab,0xd0,0xd7,0xfb,0x12,0x92,0x61,0x85,0x50,0xe4,0x0d,0x54,0x71,0x2e,0xa6,0xb3,0x64,0x71,0xfd,0xe4};
    static std::uint8_t sum18[32]        = {0x57,0xf0,0xae,0xf2,0xb5,0x73,0xa3,0x8d,0x34,0xf6,0xb5,0x44,0x2b,0x39,0x61,0xd6,0x21,0x4a,0x75,0xfa,0xa0,0x95,0xe5,0x7e,0x73,0x5c,0xef,0xaf,0x2a,0xca,0x4d,0xff};
    static int          borrow18         = 0;
    uint256_from_bytes(minuend, minuend18);
    uint256_from_bytes(subtrahend, subtrahend18);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum18, differencedata, 32) != 0 || borrow18 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend19[32]    = {0xf7,0xb1,0x03,0xdf,0x23,0x23,0x1e,0x1e,0xe2,0x01,0x55,0x22,0x40,0xcb,0xac,0xd0,0x24,0x9a,0x45,0x84,0x5d,0xbe,0x30,0x23,0xa9,0x06,0x92,0x2f,0xa4,0xb9,0xa9,0xc4};
    static std::uint8_t subtrahend19[32] = {0x83,0xfe,0xb1,0x7b,0xfe,0x7b,0x8a,0xe4,0x6e,0x78,0x36,0xa4,0xb4,0xd1,0x9e,0xc1,0x29,0x55,0xd6,0xf0,0x39,0x45,0x33,0x6b,0xd5,0x1b,0x18,0x15,0xaa,0xf7,0x19,0xf3};
    static std::uint8_t sum19[32]        = {0x73,0xb2,0x52,0x63,0x24,0xa7,0x93,0x3a,0x73,0x89,0x1e,0x7d,0x8b,0xfa,0x0e,0x0e,0xfb,0x44,0x6e,0x94,0x24,0x78,0xfc,0xb7,0xd3,0xeb,0x7a,0x19,0xf9,0xc2,0x8f,0xd1};
    static int          borrow19         = 0;
    uint256_from_bytes(minuend, minuend19);
    uint256_from_bytes(subtrahend, subtrahend19);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum19, differencedata, 32) != 0 || borrow19 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend20[32]    = {0x5d,0xaf,0x10,0x6d,0xb8,0xde,0xe0,0x81,0x17,0x9a,0x07,0x1e,0x51,0x8a,0xe4,0x52,0x5b,0x4b,0x1b,0x75,0x32,0x1c,0x52,0x96,0x6b,0xd8,0xc6,0x76,0x56,0xd0,0x50,0xcd};
    static std::uint8_t subtrahend20[32] = {0xa2,0x6a,0xa0,0xae,0x04,0x4f,0x15,0x74,0xf0,0x37,0xaf,0xc6,0x44,0xd8,0x2a,0x53,0x12,0x89,0xba,0xfa,0xe5,0x31,0x69,0x60,0x6c,0xe1,0x93,0xc2,0x2e,0xef,0xa2,0x79};
    static std::uint8_t sum20[32]        = {0xbb,0x44,0x6f,0xbf,0xb4,0x8f,0xcb,0x0c,0x27,0x62,0x57,0x58,0x0c,0xb2,0xb9,0xff,0x48,0xc1,0x60,0x7a,0x4c,0xea,0xe9,0x35,0xfe,0xf7,0x32,0xb4,0x27,0xe0,0xae,0x54};
    static int          borrow20         = -1;
    uint256_from_bytes(minuend, minuend20);
    uint256_from_bytes(subtrahend, subtrahend20);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum20, differencedata, 32) != 0 || borrow20 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend21[32]    = {0xf0,0x29,0x05,0x31,0x3d,0x0a,0x27,0x0b,0xb5,0xa4,0x32,0xcf,0x86,0xe3,0xe7,0x26,0x0b,0x0f,0x87,0x3b,0x21,0x14,0xe0,0x68,0x9f,0x27,0xf5,0x2c,0x44,0x92,0x74,0xd2};
    static std::uint8_t subtrahend21[32] = {0xac,0x12,0x7e,0x93,0x80,0x05,0xce,0x74,0x72,0x18,0x88,0xff,0x4a,0x3a,0xdf,0x99,0x34,0xb3,0xff,0x60,0xc2,0x6e,0x7a,0x42,0x87,0xf5,0x3d,0xdd,0x4e,0x14,0xd5,0x71};
    static std::uint8_t sum21[32]        = {0x44,0x16,0x86,0x9d,0xbd,0x04,0x58,0x97,0x43,0x8b,0xa9,0xd0,0x3c,0xa9,0x07,0x8c,0xd6,0x5b,0x87,0xda,0x5e,0xa6,0x66,0x26,0x17,0x32,0xb7,0x4e,0xf6,0x7d,0x9f,0x61};
    static int          borrow21         = 0;
    uint256_from_bytes(minuend, minuend21);
    uint256_from_bytes(subtrahend, subtrahend21);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum21, differencedata, 32) != 0 || borrow21 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend22[32]    = {0x03,0xed,0xb9,0x20,0x09,0x75,0x83,0x40,0x40,0x1d,0x68,0xfb,0xfe,0x97,0x7c,0x56,0x04,0xa6,0x56,0x51,0xcd,0xbd,0xe7,0x47,0x58,0xd5,0x0f,0x1b,0x45,0x40,0xf4,0x26};
    static std::uint8_t subtrahend22[32] = {0xa2,0xcf,0x62,0xba,0xba,0x95,0x88,0x10,0xb4,0xeb,0xf4,0xb6,0xe1,0xc6,0x0a,0xa3,0xd5,0x10,0xbb,0x04,0x32,0xd9,0x0d,0xcd,0x57,0xbb,0x7d,0x97,0x3a,0xc4,0xda,0x9a};
    static std::uint8_t sum22[32]        = {0x61,0x1e,0x56,0x65,0x4e,0xdf,0xfb,0x2f,0x8b,0x31,0x74,0x45,0x1c,0xd1,0x71,0xb2,0x2f,0x95,0x9b,0x4d,0x9a,0xe4,0xd9,0x7a,0x01,0x19,0x91,0x84,0x0a,0x7c,0x19,0x8c};
    static int          borrow22         = -1;
    uint256_from_bytes(minuend, minuend22);
    uint256_from_bytes(subtrahend, subtrahend22);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum22, differencedata, 32) != 0 || borrow22 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend23[32]    = {0x03,0xa6,0x39,0x66,0x21,0x3b,0xca,0x7f,0xd6,0x44,0xde,0x2f,0x0d,0xec,0x68,0x23,0xfb,0x5c,0x9d,0x56,0x58,0xf9,0x2d,0xea,0xfd,0x4b,0xd0,0x30,0x67,0x9a,0x44,0xdd};
    static std::uint8_t subtrahend23[32] = {0x99,0x49,0x8a,0xc4,0x48,0x2c,0xc7,0x8e,0xf8,0x8e,0xde,0x10,0xab,0xa8,0xb9,0xb3,0x81,0x85,0x79,0x7c,0xde,0xdb,0x91,0x09,0x61,0x81,0x77,0xff,0xd7,0x5d,0x67,0x69};
    static std::uint8_t sum23[32]        = {0x6a,0x5c,0xae,0xa1,0xd9,0x0f,0x02,0xf0,0xdd,0xb6,0x00,0x1e,0x62,0x43,0xae,0x70,0x79,0xd7,0x23,0xd9,0x7a,0x1d,0x9c,0xe1,0x9b,0xca,0x58,0x30,0x90,0x3c,0xdd,0x74};
    static int          borrow23         = -1;
    uint256_from_bytes(minuend, minuend23);
    uint256_from_bytes(subtrahend, subtrahend23);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum23, differencedata, 32) != 0 || borrow23 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend24[32]    = {0x72,0x21,0x8f,0xdc,0x44,0xdf,0x96,0xff,0x28,0x54,0x14,0x24,0x2f,0x73,0x3b,0x05,0x75,0x9e,0xb5,0x59,0x0b,0x94,0xaf,0x3a,0x4b,0x05,0xe1,0xae,0xb1,0x53,0xd6,0x9c};
    static std::uint8_t subtrahend24[32] = {0x52,0xd3,0x1e,0x1b,0x8c,0x0d,0x00,0x33,0xfc,0x23,0x25,0xa9,0xf8,0xfd,0xd2,0x08,0x54,0x34,0x81,0x56,0xf6,0x37,0xa4,0x68,0x5d,0x38,0x5e,0x06,0x43,0x63,0xe5,0xd9};
    static std::uint8_t sum24[32]        = {0x1f,0x4e,0x71,0xc0,0xb8,0xd2,0x96,0xcb,0x2c,0x30,0xee,0x7a,0x36,0x75,0x68,0xfd,0x21,0x6a,0x34,0x02,0x15,0x5d,0x0a,0xd1,0xed,0xcd,0x83,0xa8,0x6d,0xef,0xf0,0xc3};
    static int          borrow24         = 0;
    uint256_from_bytes(minuend, minuend24);
    uint256_from_bytes(subtrahend, subtrahend24);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum24, differencedata, 32) != 0 || borrow24 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend25[32]    = {0x00,0x46,0x0d,0x69,0x2e,0xd6,0x54,0x11,0x5b,0x49,0x15,0x61,0x37,0xc6,0x0e,0x98,0x4f,0x3e,0x88,0x5e,0xe1,0xe4,0x37,0xb7,0xf7,0x35,0xef,0xe6,0x08,0xd1,0x80,0x11};
    static std::uint8_t subtrahend25[32] = {0x7e,0x83,0x49,0x04,0xfc,0x17,0x34,0x98,0xb8,0x7e,0x4e,0x2b,0x53,0x7d,0x91,0x28,0xc3,0xa9,0xe8,0x89,0x63,0xb7,0x59,0xf5,0x98,0xb8,0x1c,0x66,0xe1,0x0c,0x16,0x7d};
    static std::uint8_t sum25[32]        = {0x81,0xc2,0xc4,0x64,0x32,0xbf,0x1f,0x78,0xa2,0xca,0xc7,0x35,0xe4,0x48,0x7d,0x6f,0x8b,0x94,0x9f,0xd5,0x7e,0x2c,0xdd,0xc2,0x5e,0x7d,0xd3,0x7f,0x27,0xc5,0x69,0x94};
    static int          borrow25         = -1;
    uint256_from_bytes(minuend, minuend25);
    uint256_from_bytes(subtrahend, subtrahend25);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum25, differencedata, 32) != 0 || borrow25 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend26[32]    = {0x81,0x6b,0x23,0x32,0xcf,0xed,0x94,0x3b,0xb3,0x78,0x3a,0x7c,0xbb,0xdd,0xbb,0x9b,0x6d,0xe2,0xfb,0x1f,0xa0,0x98,0xd6,0x91,0x83,0x52,0xbc,0x85,0xe4,0x56,0x55,0x9c};
    static std::uint8_t subtrahend26[32] = {0xcd,0xff,0x5a,0x1c,0xd0,0x1a,0x91,0x4c,0xd5,0xbe,0x78,0x5a,0x91,0x87,0xdf,0x42,0x81,0x1e,0x76,0x16,0xc0,0xbb,0xe6,0xed,0x86,0x14,0xf5,0x04,0xe8,0xee,0x65,0xa1};
    static std::uint8_t sum26[32]        = {0xb3,0x6b,0xc9,0x15,0xff,0xd3,0x02,0xee,0xdd,0xb9,0xc2,0x22,0x2a,0x55,0xdc,0x58,0xec,0xc4,0x85,0x08,0xdf,0xdc,0xef,0xa3,0xfd,0x3d,0xc7,0x80,0xfb,0x67,0xef,0xfb};
    static int          borrow26         = -1;
    uint256_from_bytes(minuend, minuend26);
    uint256_from_bytes(subtrahend, subtrahend26);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum26, differencedata, 32) != 0 || borrow26 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend27[32]    = {0xcc,0x35,0xe8,0x34,0x74,0xfa,0x94,0x12,0x00,0xd9,0x35,0x34,0x43,0x87,0xee,0x7b,0x7d,0x42,0x64,0x6f,0x3e,0x9b,0x76,0x8f,0xae,0x40,0x01,0xe3,0x88,0x0c,0xb4,0x01};
    static std::uint8_t subtrahend27[32] = {0x86,0xa7,0x4a,0x63,0xa8,0xc7,0xd9,0xe0,0x17,0x89,0x81,0x9f,0x89,0x02,0xda,0xfc,0xe5,0xd9,0xfe,0x81,0x80,0xc2,0xb5,0xf1,0xee,0xb8,0x9f,0xf1,0xbf,0x8e,0x51,0xaa};
    static std::uint8_t sum27[32]        = {0x45,0x8e,0x9d,0xd0,0xcc,0x32,0xba,0x31,0xe9,0x4f,0xb3,0x94,0xba,0x85,0x13,0x7e,0x97,0x68,0x65,0xed,0xbd,0xd8,0xc0,0x9d,0xbf,0x87,0x61,0xf1,0xc8,0x7e,0x62,0x57};
    static int          borrow27         = 0;
    uint256_from_bytes(minuend, minuend27);
    uint256_from_bytes(subtrahend, subtrahend27);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum27, differencedata, 32) != 0 || borrow27 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend28[32]    = {0x43,0xfb,0x9f,0xbc,0xd8,0x9c,0x36,0xb2,0x13,0x0f,0x27,0xb2,0xcf,0x28,0xf6,0x5e,0x40,0x8f,0xc1,0x46,0x79,0x4e,0xc9,0x26,0xbc,0x9e,0x28,0xea,0xbe,0xe8,0x06,0x26};
    static std::uint8_t subtrahend28[32] = {0x75,0xd8,0xd8,0xa4,0xf9,0xc9,0xc6,0x79,0xa6,0x61,0xf6,0x2c,0xbd,0x65,0x68,0x0c,0x3b,0x11,0x85,0xd9,0x34,0x89,0x22,0xd7,0xc1,0xa6,0x24,0xdc,0xba,0xb5,0xb3,0x73};
    static std::uint8_t sum28[32]        = {0xce,0x22,0xc7,0x17,0xde,0xd2,0x70,0x38,0x6c,0xad,0x31,0x86,0x11,0xc3,0x8e,0x52,0x05,0x7e,0x3b,0x6d,0x44,0xc5,0xa6,0x4e,0xfa,0xf8,0x04,0x0e,0x04,0x32,0x52,0xb3};
    static int          borrow28         = -1;
    uint256_from_bytes(minuend, minuend28);
    uint256_from_bytes(subtrahend, subtrahend28);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum28, differencedata, 32) != 0 || borrow28 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend29[32]    = {0xc4,0x58,0x27,0x2f,0x49,0x8d,0xbf,0xa8,0xaf,0x06,0xbc,0xf7,0xe9,0x14,0x57,0xdb,0x7a,0xa0,0x68,0xf1,0x13,0xa5,0x39,0x7f,0x61,0xef,0x7b,0xd1,0xd8,0x74,0xbc,0x79};
    static std::uint8_t subtrahend29[32] = {0x54,0xef,0x12,0x5a,0x25,0xbd,0xa6,0x59,0x99,0x86,0x48,0xe0,0x13,0xd5,0x31,0x6f,0x32,0xc3,0x24,0x44,0xa4,0x8c,0x1d,0x5c,0xa1,0xfe,0xb6,0x24,0x9d,0xf2,0x02,0x5f};
    static std::uint8_t sum29[32]        = {0x6f,0x69,0x14,0xd5,0x23,0xd0,0x19,0x4f,0x15,0x80,0x74,0x17,0xd5,0x3f,0x26,0x6c,0x47,0xdd,0x44,0xac,0x6f,0x19,0x1c,0x22,0xbf,0xf0,0xc5,0xad,0x3a,0x82,0xba,0x1a};
    static int          borrow29         = 0;
    uint256_from_bytes(minuend, minuend29);
    uint256_from_bytes(subtrahend, subtrahend29);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum29, differencedata, 32) != 0 || borrow29 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend30[32]    = {0x03,0x31,0x2e,0xad,0x22,0x29,0x30,0xae,0x91,0x58,0xd4,0xa8,0x9f,0x03,0xbc,0x5a,0x4d,0xee,0x48,0x12,0xb1,0x61,0x07,0xf1,0xbe,0x43,0x7c,0x7b,0xa6,0xca,0xf4,0xa3};
    static std::uint8_t subtrahend30[32] = {0xee,0x37,0x9c,0x65,0xf2,0x12,0x01,0xe4,0xea,0xa3,0x55,0x6c,0x35,0xb7,0xe4,0x48,0x63,0x08,0x7e,0x52,0x44,0xc6,0xb8,0x95,0xfe,0x74,0x9e,0x67,0x73,0x0f,0x37,0xf1};
    static std::uint8_t sum30[32]        = {0x14,0xf9,0x92,0x47,0x30,0x17,0x2e,0xc9,0xa6,0xb5,0x7f,0x3c,0x69,0x4b,0xd8,0x11,0xea,0xe5,0xc9,0xc0,0x6c,0x9a,0x4f,0x5b,0xbf,0xce,0xde,0x14,0x33,0xbb,0xbc,0xb2};
    static int          borrow30         = -1;
    uint256_from_bytes(minuend, minuend30);
    uint256_from_bytes(subtrahend, subtrahend30);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum30, differencedata, 32) != 0 || borrow30 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend31[32]    = {0xf3,0xe6,0xca,0x73,0x43,0x05,0xe9,0x86,0x86,0x29,0x2b,0xb5,0xbf,0x5b,0x41,0x1b,0x24,0x49,0x1d,0xf6,0x17,0x1e,0x1a,0x8c,0x94,0xdb,0x5f,0x8f,0x13,0x19,0xd4,0x24};
    static std::uint8_t subtrahend31[32] = {0x06,0x5b,0x8c,0x35,0x64,0xe2,0x76,0x02,0x7c,0x73,0xb6,0xc9,0xe0,0x4b,0x0d,0xce,0xe5,0xd0,0x0a,0x4d,0x7f,0x75,0x95,0xb5,0x3b,0x3b,0xf4,0xbf,0x5d,0x7c,0xfe,0xd1};
    static std::uint8_t sum31[32]        = {0xed,0x8b,0x3e,0x3d,0xde,0x23,0x73,0x84,0x09,0xb5,0x74,0xeb,0xdf,0x10,0x33,0x4c,0x3e,0x79,0x13,0xa8,0x97,0xa8,0x84,0xd7,0x59,0x9f,0x6a,0xcf,0xb5,0x9c,0xd5,0x53};
    static int          borrow31         = 0;
    uint256_from_bytes(minuend, minuend31);
    uint256_from_bytes(subtrahend, subtrahend31);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum31, differencedata, 32) != 0 || borrow31 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend32[32]    = {0xba,0x28,0xa6,0x79,0x4d,0x4c,0xa9,0xc7,0x67,0xc9,0x8f,0xb9,0x73,0x65,0x06,0xec,0xae,0x7c,0x8f,0x09,0x7d,0xdf,0xcb,0xc9,0xf3,0x30,0x8c,0xe5,0x00,0xeb,0x4e,0x11};
    static std::uint8_t subtrahend32[32] = {0x00,0x72,0x1f,0x84,0x54,0xd1,0xac,0x6b,0xd7,0x19,0x61,0x89,0x1e,0xf3,0xea,0x44,0x50,0xea,0x7d,0xa7,0x60,0x48,0x7e,0x15,0x58,0x0d,0xc5,0xab,0x6a,0x8a,0xd9,0xcb};
    static std::uint8_t sum32[32]        = {0xb9,0xb6,0x86,0xf4,0xf8,0x7a,0xfd,0x5b,0x90,0xb0,0x2e,0x30,0x54,0x71,0x1c,0xa8,0x5d,0x92,0x11,0x62,0x1d,0x97,0x4d,0xb4,0x9b,0x22,0xc7,0x39,0x96,0x60,0x74,0x46};
    static int          borrow32         = 0;
    uint256_from_bytes(minuend, minuend32);
    uint256_from_bytes(subtrahend, subtrahend32);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum32, differencedata, 32) != 0 || borrow32 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend33[32]    = {0x64,0x95,0x0d,0xc2,0x10,0xa2,0x5b,0x19,0x5f,0x49,0xf0,0xfc,0x40,0xd2,0x84,0x06,0x4a,0x32,0x7e,0x2d,0xbd,0x6a,0x99,0x6d,0xe6,0xcd,0x10,0xf1,0x03,0x00,0x30,0x05};
    static std::uint8_t subtrahend33[32] = {0xc1,0x72,0xb2,0x98,0x6d,0x94,0xdd,0x6d,0xec,0xe8,0x07,0x99,0x5c,0x57,0x72,0x2e,0x13,0x8e,0xfe,0xf9,0x96,0xd4,0x48,0x0f,0xde,0xb6,0x7a,0xe7,0xff,0xb0,0xdd,0x9e};
    static std::uint8_t sum33[32]        = {0xa3,0x22,0x5b,0x29,0xa3,0x0d,0x7d,0xab,0x72,0x61,0xe9,0x62,0xe4,0x7b,0x11,0xd8,0x36,0xa3,0x7f,0x34,0x26,0x96,0x51,0x5e,0x08,0x16,0x96,0x09,0x03,0x4f,0x52,0x67};
    static int          borrow33         = -1;
    uint256_from_bytes(minuend, minuend33);
    uint256_from_bytes(subtrahend, subtrahend33);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum33, differencedata, 32) != 0 || borrow33 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend34[32]    = {0x50,0xcb,0x40,0x7a,0x82,0xce,0x78,0x6f,0x6f,0xad,0x79,0x36,0x44,0x06,0xc0,0x53,0xf8,0x95,0xfc,0x55,0x3f,0xd3,0xbe,0x98,0x26,0x1f,0x40,0xdf,0xef,0x82,0xd1,0xa3};
    static std::uint8_t subtrahend34[32] = {0xc0,0xae,0xd9,0xc5,0x9d,0x6b,0x02,0x3f,0x73,0x6b,0x96,0xa0,0x69,0x2f,0xd3,0x60,0xbb,0x7b,0x73,0x8e,0xee,0xf7,0x95,0xcd,0x0c,0xaa,0x76,0x12,0x14,0xa0,0xb0,0x0b};
    static std::uint8_t sum34[32]        = {0x90,0x1c,0x66,0xb4,0xe5,0x63,0x76,0x2f,0xfc,0x41,0xe2,0x95,0xda,0xd6,0xec,0xf3,0x3d,0x1a,0x88,0xc6,0x50,0xdc,0x28,0xcb,0x19,0x74,0xca,0xcd,0xda,0xe2,0x21,0x98};
    static int          borrow34         = -1;
    uint256_from_bytes(minuend, minuend34);
    uint256_from_bytes(subtrahend, subtrahend34);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum34, differencedata, 32) != 0 || borrow34 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend35[32]    = {0x8c,0xd3,0xe4,0x18,0xed,0x41,0x42,0xba,0xe9,0x72,0x9f,0x3f,0x0c,0x89,0xc0,0x01,0x7c,0x4e,0xa6,0x03,0x49,0x44,0xf2,0xce,0xde,0x96,0x2a,0x6d,0xa4,0xfd,0x57,0xc5};
    static std::uint8_t subtrahend35[32] = {0x17,0x39,0x10,0xe3,0x3e,0x7c,0x65,0x67,0x31,0x41,0x97,0x75,0x8c,0x3b,0xa8,0x59,0x23,0xbc,0x91,0x52,0x6d,0x6b,0x98,0x7a,0x73,0x30,0x9b,0x95,0xc2,0x5e,0x11,0x4f};
    static std::uint8_t sum35[32]        = {0x75,0x9a,0xd3,0x35,0xae,0xc4,0xdd,0x53,0xb8,0x31,0x07,0xc9,0x80,0x4e,0x17,0xa8,0x58,0x92,0x14,0xb0,0xdb,0xd9,0x5a,0x54,0x6b,0x65,0x8e,0xd7,0xe2,0x9f,0x46,0x76};
    static int          borrow35         = 0;
    uint256_from_bytes(minuend, minuend35);
    uint256_from_bytes(subtrahend, subtrahend35);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum35, differencedata, 32) != 0 || borrow35 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend36[32]    = {0x7f,0x86,0x7d,0x5f,0x0f,0xe3,0x21,0xec,0xc0,0x8a,0x58,0xd7,0x56,0x94,0x7a,0x7a,0x45,0x2e,0x70,0x4d,0x60,0x7a,0x47,0x32,0x35,0xc2,0xe2,0x29,0x86,0x2f,0xe2,0x31};
    static std::uint8_t subtrahend36[32] = {0x62,0x72,0x92,0xf8,0x3f,0x9a,0xa8,0x84,0xe5,0x94,0x09,0xc1,0x45,0x61,0x9f,0xc0,0x17,0xb4,0x83,0x4c,0x37,0x49,0x5c,0x5e,0xd9,0x3f,0xf7,0x16,0xdc,0xe4,0x7b,0x21};
    static std::uint8_t sum36[32]        = {0x1d,0x13,0xea,0x66,0xd0,0x48,0x79,0x67,0xda,0xf6,0x4f,0x16,0x11,0x32,0xda,0xba,0x2d,0x79,0xed,0x01,0x29,0x30,0xea,0xd3,0x5c,0x82,0xeb,0x12,0xa9,0x4b,0x67,0x10};
    static int          borrow36         = 0;
    uint256_from_bytes(minuend, minuend36);
    uint256_from_bytes(subtrahend, subtrahend36);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum36, differencedata, 32) != 0 || borrow36 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend37[32]    = {0xcd,0xe3,0x47,0xab,0xe5,0x4c,0x5d,0xe6,0xc3,0x81,0x3c,0xe6,0xb5,0xa2,0x90,0x61,0x6c,0xd9,0xe6,0x2a,0x08,0x41,0x1c,0x07,0x20,0x93,0x42,0xca,0x05,0x95,0x5f,0xb9};
    static std::uint8_t subtrahend37[32] = {0xc8,0x79,0xb6,0x63,0x3f,0x9b,0x6b,0xb2,0x72,0xee,0x6a,0x2e,0xf8,0xe4,0xcb,0x5c,0x77,0xd8,0xc5,0x69,0xda,0xff,0x9a,0x0b,0x87,0x21,0xec,0xf8,0xd3,0x59,0xd0,0x7a};
    static std::uint8_t sum37[32]        = {0x05,0x69,0x91,0x48,0xa5,0xb0,0xf2,0x34,0x50,0x92,0xd2,0xb7,0xbc,0xbd,0xc5,0x04,0xf5,0x01,0x20,0xc0,0x2d,0x41,0x81,0xfb,0x99,0x71,0x55,0xd1,0x32,0x3b,0x8f,0x3f};
    static int          borrow37         = 0;
    uint256_from_bytes(minuend, minuend37);
    uint256_from_bytes(subtrahend, subtrahend37);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum37, differencedata, 32) != 0 || borrow37 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend38[32]    = {0xeb,0x7f,0xe2,0x6b,0x91,0xc3,0x09,0x8c,0x3b,0x8a,0x27,0xba,0x20,0x2a,0xb6,0xfa,0xc8,0x44,0xb8,0xfd,0x00,0x59,0x86,0x5a,0x0a,0x1f,0xb4,0x3b,0xc6,0xe0,0x67,0x3a};
    static std::uint8_t subtrahend38[32] = {0x00,0x4b,0x7f,0xd0,0x99,0xdf,0x20,0x9b,0xca,0x5d,0x5e,0x7d,0x39,0x3c,0xbc,0xdd,0x42,0xc9,0x27,0xb9,0x63,0x59,0x56,0xbe,0x31,0x13,0x5d,0xe9,0x95,0x38,0x57,0xd7};
    static std::uint8_t sum38[32]        = {0xeb,0x34,0x62,0x9a,0xf7,0xe3,0xe8,0xf0,0x71,0x2c,0xc9,0x3c,0xe6,0xed,0xfa,0x1d,0x85,0x7b,0x91,0x43,0x9d,0x00,0x2f,0x9b,0xd9,0x0c,0x56,0x52,0x31,0xa8,0x0f,0x63};
    static int          borrow38         = 0;
    uint256_from_bytes(minuend, minuend38);
    uint256_from_bytes(subtrahend, subtrahend38);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum38, differencedata, 32) != 0 || borrow38 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend39[32]    = {0x6b,0xa9,0x9d,0x01,0xb7,0xe4,0x9f,0x36,0x56,0x8a,0x8c,0x29,0xb2,0x21,0x71,0x39,0x08,0xba,0x9b,0xd9,0x7e,0x31,0x8a,0xd6,0x3a,0x0e,0xa6,0xe1,0x5e,0xc6,0x9b,0xe3};
    static std::uint8_t subtrahend39[32] = {0xd1,0xeb,0xd0,0x86,0xc4,0x0f,0x36,0x09,0x4f,0xcc,0x9a,0x5c,0x33,0x4e,0x51,0xaf,0xf8,0x48,0xa9,0x56,0x7e,0xe5,0xe8,0x57,0x34,0x89,0x34,0x98,0x11,0x43,0x40,0xff};
    static std::uint8_t sum39[32]        = {0x99,0xbd,0xcc,0x7a,0xf3,0xd5,0x69,0x2d,0x06,0xbd,0xf1,0xcd,0x7e,0xd3,0x1f,0x89,0x10,0x71,0xf2,0x82,0xff,0x4b,0xa2,0x7f,0x05,0x85,0x72,0x49,0x4d,0x83,0x5a,0xe4};
    static int          borrow39         = -1;
    uint256_from_bytes(minuend, minuend39);
    uint256_from_bytes(subtrahend, subtrahend39);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum39, differencedata, 32) != 0 || borrow39 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend40[32]    = {0x0d,0xea,0x6e,0x4e,0x64,0xb9,0xcb,0x1c,0xec,0x03,0x2e,0x6b,0x25,0x79,0x5c,0x18,0x98,0x44,0xf4,0x76,0xf2,0xe2,0x05,0x4d,0x0e,0x71,0x59,0x7a,0xaa,0x50,0xb9,0x6f};
    static std::uint8_t subtrahend40[32] = {0x0f,0x65,0x06,0x38,0xb5,0xb9,0x4a,0xf3,0x0d,0x45,0x6b,0xe0,0x6a,0x56,0xaa,0xc3,0x24,0x54,0x48,0xc8,0x98,0x9b,0xc9,0xdc,0xf9,0x5f,0xe8,0xa0,0x06,0x0c,0x88,0x04};
    static std::uint8_t sum40[32]        = {0xfe,0x85,0x68,0x15,0xaf,0x00,0x80,0x29,0xde,0xbd,0xc2,0x8a,0xbb,0x22,0xb1,0x55,0x73,0xf0,0xab,0xae,0x5a,0x46,0x3b,0x70,0x15,0x11,0x70,0xda,0xa4,0x44,0x31,0x6b};
    static int          borrow40         = -1;
    uint256_from_bytes(minuend, minuend40);
    uint256_from_bytes(subtrahend, subtrahend40);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum40, differencedata, 32) != 0 || borrow40 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend41[32]    = {0xd6,0xd1,0x06,0xfb,0x60,0xed,0x33,0xa0,0xb9,0xb2,0x53,0xe3,0xaa,0x18,0x13,0x45,0x4f,0xd3,0xe7,0x58,0x08,0x2a,0x2f,0x4d,0x77,0xb5,0xab,0xcb,0xbf,0x0e,0x11,0xe0};
    static std::uint8_t subtrahend41[32] = {0x47,0xa1,0x64,0xe4,0x14,0x07,0xab,0x33,0x00,0xbc,0x22,0xcb,0x1b,0xe4,0xa5,0xdb,0x2b,0x54,0xaf,0x77,0x71,0x43,0x6e,0x1d,0x54,0xea,0x20,0x61,0xfc,0x27,0xd6,0x83};
    static std::uint8_t sum41[32]        = {0x8f,0x2f,0xa2,0x17,0x4c,0xe5,0x88,0x6d,0xb8,0xf6,0x31,0x18,0x8e,0x33,0x6d,0x6a,0x24,0x7f,0x37,0xe0,0x96,0xe6,0xc1,0x30,0x22,0xcb,0x8b,0x69,0xc2,0xe6,0x3b,0x5d};
    static int          borrow41         = 0;
    uint256_from_bytes(minuend, minuend41);
    uint256_from_bytes(subtrahend, subtrahend41);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum41, differencedata, 32) != 0 || borrow41 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend42[32]    = {0xc2,0x41,0x0a,0xd1,0xf6,0xda,0x7a,0x63,0x8f,0xa6,0x24,0xf7,0x1f,0xab,0x58,0x84,0xe2,0x9a,0xac,0xea,0xf4,0x9c,0x9e,0xba,0x6b,0x91,0x1f,0x97,0x59,0xf9,0xbb,0x79};
    static std::uint8_t subtrahend42[32] = {0x6e,0xb4,0xff,0xf8,0xcd,0xce,0xc4,0x08,0xd2,0x6f,0x1d,0x76,0x4f,0x06,0xe9,0x5a,0xd2,0x52,0xa6,0x17,0xc4,0xcb,0xa0,0x38,0x5b,0x4c,0x0d,0x73,0x61,0x50,0x2d,0xee};
    static std::uint8_t sum42[32]        = {0x53,0x8c,0x0a,0xd9,0x29,0x0b,0xb6,0x5a,0xbd,0x37,0x07,0x80,0xd0,0xa4,0x6f,0x2a,0x10,0x48,0x06,0xd3,0x2f,0xd0,0xfe,0x82,0x10,0x45,0x12,0x23,0xf8,0xa9,0x8d,0x8b};
    static int          borrow42         = 0;
    uint256_from_bytes(minuend, minuend42);
    uint256_from_bytes(subtrahend, subtrahend42);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum42, differencedata, 32) != 0 || borrow42 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend43[32]    = {0x72,0x43,0xd4,0x7c,0xeb,0x64,0xc5,0xc4,0x8a,0xa1,0xa5,0x9c,0x5f,0x6a,0x35,0xd9,0x32,0x1a,0x6e,0xc1,0x79,0x34,0xf0,0xb8,0xb4,0x8b,0xb0,0x75,0x0c,0x9c,0x20,0xef};
    static std::uint8_t subtrahend43[32] = {0x69,0x2a,0x4f,0x0e,0xa1,0xb4,0x9b,0xf7,0x07,0xc0,0x90,0x9c,0x79,0x7b,0x15,0x38,0xe5,0xa1,0x5b,0x79,0xbc,0xc0,0xfd,0x98,0x5d,0x3f,0x69,0xce,0x52,0xc4,0x64,0x1b};
    static std::uint8_t sum43[32]        = {0x09,0x19,0x85,0x6e,0x49,0xb0,0x29,0xcd,0x82,0xe1,0x14,0xff,0xe5,0xef,0x20,0xa0,0x4c,0x79,0x13,0x47,0xbc,0x73,0xf3,0x20,0x57,0x4c,0x46,0xa6,0xb9,0xd7,0xbc,0xd4};
    static int          borrow43         = 0;
    uint256_from_bytes(minuend, minuend43);
    uint256_from_bytes(subtrahend, subtrahend43);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum43, differencedata, 32) != 0 || borrow43 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend44[32]    = {0x76,0xcc,0x05,0x73,0x08,0xec,0x37,0x9a,0x60,0x25,0x33,0xdc,0x0a,0x68,0x01,0x3d,0x67,0x9f,0x2d,0x9e,0xc4,0x44,0x5a,0xae,0xa0,0x1a,0xc2,0x3a,0xcf,0xd3,0xbb,0x74};
    static std::uint8_t subtrahend44[32] = {0x0b,0x28,0x6c,0x70,0x9d,0xf2,0x4d,0x5e,0xf4,0x29,0xc6,0x22,0xf5,0x2b,0x25,0x49,0x55,0xc0,0xa7,0x4d,0x45,0xb6,0x69,0xf7,0x5c,0xeb,0xe2,0x13,0x56,0xcd,0x42,0xd2};
    static std::uint8_t sum44[32]        = {0x6b,0xa3,0x99,0x02,0x6a,0xf9,0xea,0x3b,0x6b,0xfb,0x6d,0xb9,0x15,0x3c,0xdb,0xf4,0x11,0xde,0x86,0x51,0x7e,0x8d,0xf0,0xb7,0x43,0x2e,0xe0,0x27,0x79,0x06,0x78,0xa2};
    static int          borrow44         = 0;
    uint256_from_bytes(minuend, minuend44);
    uint256_from_bytes(subtrahend, subtrahend44);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum44, differencedata, 32) != 0 || borrow44 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend45[32]    = {0x10,0xb9,0x9a,0xc9,0xf1,0x78,0xd7,0x7f,0xf2,0x4d,0x04,0xfd,0xa2,0x4c,0x84,0x07,0xce,0x3f,0xa0,0x28,0xea,0x9d,0x18,0xb2,0x98,0x77,0x27,0x90,0xc1,0x72,0x6f,0x06};
    static std::uint8_t subtrahend45[32] = {0x75,0xf5,0xc1,0xa0,0x51,0xcd,0xf2,0xf9,0xdc,0x7a,0x61,0x5d,0x53,0xea,0xb0,0x31,0x3c,0x73,0xd5,0xf4,0x9b,0x75,0x03,0x62,0x26,0xbc,0x98,0x58,0xc5,0xd6,0xd5,0xe9};
    static std::uint8_t sum45[32]        = {0x9a,0xc3,0xd9,0x29,0x9f,0xaa,0xe4,0x86,0x15,0xd2,0xa3,0xa0,0x4e,0x61,0xd3,0xd6,0x91,0xcb,0xca,0x34,0x4f,0x28,0x15,0x50,0x71,0xba,0x8f,0x37,0xfb,0x9b,0x99,0x1d};
    static int          borrow45         = -1;
    uint256_from_bytes(minuend, minuend45);
    uint256_from_bytes(subtrahend, subtrahend45);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum45, differencedata, 32) != 0 || borrow45 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend46[32]    = {0xc0,0xbd,0x1d,0x84,0x64,0x45,0x7e,0xa4,0x32,0x83,0x06,0x89,0x83,0x0a,0xe1,0x9e,0x14,0x3a,0x51,0x80,0x98,0x80,0xe8,0x8b,0xc8,0x41,0x72,0x1e,0xc8,0xa9,0x48,0x14};
    static std::uint8_t subtrahend46[32] = {0x8b,0x6b,0xfe,0xae,0x8d,0x76,0xd7,0xa1,0x7b,0x50,0x07,0x9e,0x08,0xab,0x4a,0xe4,0xa6,0x48,0xa5,0x8c,0x10,0x92,0x57,0xf7,0x68,0x62,0xbf,0x79,0x3f,0x4f,0x8b,0x9d};
    static std::uint8_t sum46[32]        = {0x35,0x51,0x1e,0xd5,0xd6,0xce,0xa7,0x02,0xb7,0x32,0xfe,0xeb,0x7a,0x5f,0x96,0xb9,0x6d,0xf1,0xab,0xf4,0x87,0xee,0x90,0x94,0x5f,0xde,0xb2,0xa5,0x89,0x59,0xbc,0x77};
    static int          borrow46         = 0;
    uint256_from_bytes(minuend, minuend46);
    uint256_from_bytes(subtrahend, subtrahend46);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum46, differencedata, 32) != 0 || borrow46 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend47[32]    = {0xf8,0xdc,0xa3,0x09,0xb5,0xb3,0x90,0x23,0xfd,0x09,0xe3,0x7c,0x7f,0x9c,0x13,0x21,0x6b,0xca,0x9b,0x3f,0x18,0xaf,0x26,0x6c,0x35,0x55,0xd6,0xae,0x15,0x86,0x6f,0xfb};
    static std::uint8_t subtrahend47[32] = {0xac,0x92,0x61,0xf1,0xe4,0x29,0xc8,0x7c,0x9e,0xcc,0x7b,0x5f,0x75,0xff,0x19,0x9d,0x6a,0xb6,0x11,0x4f,0x22,0x07,0xc6,0xc0,0x3b,0xf4,0x49,0xfd,0x2c,0x56,0x4d,0x56};
    static std::uint8_t sum47[32]        = {0x4c,0x4a,0x41,0x17,0xd1,0x89,0xc7,0xa7,0x5e,0x3d,0x68,0x1d,0x09,0x9c,0xf9,0x84,0x01,0x14,0x89,0xef,0xf6,0xa7,0x5f,0xab,0xf9,0x61,0x8c,0xb0,0xe9,0x30,0x22,0xa5};
    static int          borrow47         = 0;
    uint256_from_bytes(minuend, minuend47);
    uint256_from_bytes(subtrahend, subtrahend47);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum47, differencedata, 32) != 0 || borrow47 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend48[32]    = {0xbc,0xf1,0xfc,0xb5,0x41,0x09,0xd8,0xd6,0x5f,0x7b,0x07,0xb8,0x44,0x85,0xc0,0x4f,0x91,0x1f,0x52,0xdc,0x47,0x86,0x8e,0x4a,0x4b,0x35,0x4e,0x93,0x4b,0x3e,0x90,0xb7};
    static std::uint8_t subtrahend48[32] = {0xfe,0x11,0x1e,0xbc,0x40,0x6c,0x61,0x32,0x65,0x64,0xd1,0x34,0x10,0x97,0x00,0x46,0x53,0x8a,0xe1,0xc1,0x30,0x31,0x29,0x32,0x94,0x0a,0x35,0x37,0xe8,0x56,0x64,0x31};
    static std::uint8_t sum48[32]        = {0xbe,0xe0,0xdd,0xf9,0x00,0x9d,0x77,0xa3,0xfa,0x16,0x36,0x84,0x33,0xee,0xc0,0x09,0x3d,0x94,0x71,0x1b,0x17,0x55,0x65,0x17,0xb7,0x2b,0x19,0x5b,0x62,0xe8,0x2c,0x86};
    static int          borrow48         = -1;
    uint256_from_bytes(minuend, minuend48);
    uint256_from_bytes(subtrahend, subtrahend48);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum48, differencedata, 32) != 0 || borrow48 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend49[32]    = {0xd7,0x2e,0xb3,0xa1,0x3b,0x2a,0x42,0x1a,0xd1,0xb0,0xb7,0x0b,0xe2,0x00,0xd2,0x18,0x79,0x8a,0x0d,0x59,0x01,0x26,0x64,0xf6,0x1a,0x32,0x75,0x37,0x09,0x7a,0x59,0x42};
    static std::uint8_t subtrahend49[32] = {0x0c,0xe6,0x6f,0x73,0x1e,0x84,0xfb,0x36,0x3b,0x9e,0xda,0xcb,0x4b,0x2e,0x72,0x45,0xe0,0x7b,0x59,0xd8,0x0a,0x55,0x27,0xa2,0x5f,0xb6,0x5b,0x55,0xea,0x14,0x84,0x3a};
    static std::uint8_t sum49[32]        = {0xca,0x48,0x44,0x2e,0x1c,0xa5,0x46,0xe4,0x96,0x11,0xdc,0x40,0x96,0xd2,0x5f,0xd2,0x99,0x0e,0xb3,0x80,0xf6,0xd1,0x3d,0x53,0xba,0x7c,0x19,0xe1,0x1f,0x65,0xd5,0x08};
    static int          borrow49         = 0;
    uint256_from_bytes(minuend, minuend49);
    uint256_from_bytes(subtrahend, subtrahend49);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum49, differencedata, 32) != 0 || borrow49 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend50[32]    = {0x37,0xb7,0x9c,0x48,0x59,0x85,0xea,0x3f,0x9e,0xb4,0xe9,0x2e,0xb5,0xaf,0x4c,0x8a,0x98,0x9d,0x18,0x1c,0xa3,0x30,0x66,0xbd,0x1b,0x14,0x66,0xf6,0x01,0x9f,0x77,0x81};
    static std::uint8_t subtrahend50[32] = {0x53,0xc6,0x9b,0x0a,0xd1,0x9f,0x0b,0xe9,0x02,0xe9,0xc9,0xfb,0xd0,0x93,0x0b,0x64,0x34,0x14,0xc2,0xdc,0xe9,0xf8,0xf7,0x1f,0xa6,0xd2,0x10,0x40,0xbb,0x73,0x52,0xc1};
    static std::uint8_t sum50[32]        = {0xe3,0xf1,0x01,0x3d,0x87,0xe6,0xde,0x56,0x9b,0xcb,0x1f,0x32,0xe5,0x1c,0x41,0x26,0x64,0x88,0x55,0x3f,0xb9,0x37,0x6f,0x9d,0x74,0x42,0x56,0xb5,0x46,0x2c,0x24,0xc0};
    static int          borrow50         = -1;
    uint256_from_bytes(minuend, minuend50);
    uint256_from_bytes(subtrahend, subtrahend50);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum50, differencedata, 32) != 0 || borrow50 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend51[32]    = {0xf4,0x04,0x2f,0x1e,0x6a,0xf7,0xea,0x31,0x4e,0xbe,0x98,0x80,0xaa,0xf5,0xa8,0x6e,0x48,0x86,0x6d,0x48,0xfc,0xfd,0x36,0xd1,0x68,0xe7,0xed,0x23,0x45,0x6b,0x31,0x2c};
    static std::uint8_t subtrahend51[32] = {0xba,0x60,0x49,0x1e,0x64,0x06,0xf4,0x58,0x32,0x7b,0xcd,0xa3,0xa4,0xfc,0x86,0x21,0x5d,0x20,0xc6,0xa6,0xcd,0x5e,0x4a,0xa0,0xff,0x22,0x82,0xe6,0xc4,0x44,0x00,0x54};
    static std::uint8_t sum51[32]        = {0x39,0xa3,0xe6,0x00,0x06,0xf0,0xf5,0xd9,0x1c,0x42,0xca,0xdd,0x05,0xf9,0x22,0x4c,0xeb,0x65,0xa6,0xa2,0x2f,0x9e,0xec,0x30,0x69,0xc5,0x6a,0x3c,0x81,0x27,0x30,0xd8};
    static int          borrow51         = 0;
    uint256_from_bytes(minuend, minuend51);
    uint256_from_bytes(subtrahend, subtrahend51);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum51, differencedata, 32) != 0 || borrow51 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend52[32]    = {0x29,0x9c,0x85,0x8d,0xc5,0xe6,0xe6,0x2f,0x75,0xfd,0xf3,0x7c,0x5d,0x5e,0xc1,0xad,0xe2,0x01,0xaa,0xfd,0x93,0xea,0x6a,0x94,0x67,0xfd,0xe1,0xc3,0x17,0x2a,0x39,0x0a};
    static std::uint8_t subtrahend52[32] = {0x65,0x8f,0x62,0xd1,0xe8,0xe8,0x4b,0x0d,0xce,0x74,0xb3,0xc4,0xa4,0x02,0xbb,0x72,0x24,0x7a,0xab,0xb5,0x8d,0x32,0x3d,0x9e,0x0d,0x3b,0xe8,0xee,0x03,0xcc,0x2f,0x9b};
    static std::uint8_t sum52[32]        = {0xc4,0x0d,0x22,0xbb,0xdc,0xfe,0x9b,0x21,0xa7,0x89,0x3f,0xb7,0xb9,0x5c,0x06,0x3b,0xbd,0x86,0xff,0x48,0x06,0xb8,0x2c,0xf6,0x5a,0xc1,0xf8,0xd5,0x13,0x5e,0x09,0x6f};
    static int          borrow52         = -1;
    uint256_from_bytes(minuend, minuend52);
    uint256_from_bytes(subtrahend, subtrahend52);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum52, differencedata, 32) != 0 || borrow52 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend53[32]    = {0x25,0x58,0xd6,0xc0,0x2b,0xf3,0x97,0x75,0x81,0x24,0x7d,0xd4,0xbc,0xbc,0x58,0xa3,0x5e,0xef,0x9b,0x8b,0xed,0x5e,0xc9,0x04,0x9f,0x48,0x25,0x0d,0x92,0xa7,0x3f,0x9d};
    static std::uint8_t subtrahend53[32] = {0x62,0x3c,0x70,0xce,0x1b,0xd9,0xd9,0x12,0x11,0x2d,0x40,0x95,0xec,0xed,0x8d,0xed,0x2b,0xfa,0x1f,0x10,0x85,0x6a,0xab,0x1d,0x29,0x6c,0xb0,0x8c,0x48,0x86,0x05,0x8b};
    static std::uint8_t sum53[32]        = {0xc3,0x1c,0x65,0xf2,0x10,0x19,0xbe,0x63,0x6f,0xf7,0x3d,0x3e,0xcf,0xce,0xca,0xb6,0x32,0xf5,0x7c,0x7b,0x67,0xf4,0x1d,0xe7,0x75,0xdb,0x74,0x81,0x4a,0x21,0x3a,0x12};
    static int          borrow53         = -1;
    uint256_from_bytes(minuend, minuend53);
    uint256_from_bytes(subtrahend, subtrahend53);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum53, differencedata, 32) != 0 || borrow53 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend54[32]    = {0x95,0x26,0xe3,0xd0,0x4e,0xe6,0xf4,0xff,0x6b,0x89,0xd4,0x63,0xa6,0x26,0xb0,0x97,0x4e,0x64,0x0c,0xd4,0xc7,0x30,0xa7,0xcb,0xa0,0x85,0xda,0x1f,0xd9,0x58,0xb1,0xe6};
    static std::uint8_t subtrahend54[32] = {0x2d,0xc3,0x78,0xf2,0x70,0x37,0xe0,0x34,0x80,0xea,0x83,0x97,0x72,0x60,0xca,0x26,0x5e,0x11,0x34,0x23,0xa8,0xa9,0xea,0x62,0x63,0xa3,0x66,0xaa,0x6c,0xfd,0x49,0x40};
    static std::uint8_t sum54[32]        = {0x67,0x63,0x6a,0xdd,0xde,0xaf,0x14,0xca,0xea,0x9f,0x50,0xcc,0x33,0xc5,0xe6,0x70,0xf0,0x52,0xd8,0xb1,0x1e,0x86,0xbd,0x69,0x3c,0xe2,0x73,0x75,0x6c,0x5b,0x68,0xa6};
    static int          borrow54         = 0;
    uint256_from_bytes(minuend, minuend54);
    uint256_from_bytes(subtrahend, subtrahend54);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum54, differencedata, 32) != 0 || borrow54 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend55[32]    = {0x66,0x7c,0xd6,0x0b,0x79,0x24,0xde,0xde,0xcf,0x7e,0xda,0x11,0x2d,0xf8,0x3c,0x66,0xd6,0x27,0xd2,0xb8,0x75,0x52,0x6e,0x31,0xd1,0xa8,0x08,0x88,0xc7,0xac,0x6f,0x37};
    static std::uint8_t subtrahend55[32] = {0xc1,0x94,0xff,0x53,0x9c,0x46,0x19,0x92,0x59,0xd4,0x69,0x7f,0xd5,0x41,0xda,0x56,0x10,0xc5,0xab,0x83,0x38,0x9b,0xc3,0xdc,0xee,0x3a,0xb8,0x08,0xb8,0x98,0xa7,0x0c};
    static std::uint8_t sum55[32]        = {0xa4,0xe7,0xd6,0xb7,0xdc,0xde,0xc5,0x4c,0x75,0xaa,0x70,0x91,0x58,0xb6,0x62,0x10,0xc5,0x62,0x27,0x35,0x3c,0xb6,0xaa,0x54,0xe3,0x6d,0x50,0x80,0x0f,0x13,0xc8,0x2b};
    static int          borrow55         = -1;
    uint256_from_bytes(minuend, minuend55);
    uint256_from_bytes(subtrahend, subtrahend55);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum55, differencedata, 32) != 0 || borrow55 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend56[32]    = {0x74,0xd6,0xd1,0x1f,0xd0,0xcc,0xe8,0x93,0xe7,0xb2,0x27,0xe9,0x46,0x65,0xea,0x19,0x9d,0x10,0x6a,0x37,0xe5,0x83,0x76,0xfb,0x52,0xe7,0x1c,0xf8,0x28,0xa4,0xfb,0xd7};
    static std::uint8_t subtrahend56[32] = {0x67,0x49,0x83,0x14,0x2e,0x9d,0xde,0x73,0x32,0xed,0xdf,0x6f,0x09,0x6d,0xe4,0x21,0x5f,0x4c,0xe3,0x02,0x51,0xaf,0x10,0x74,0x3c,0xc6,0x31,0x41,0x81,0x89,0xac,0x45};
    static std::uint8_t sum56[32]        = {0x0d,0x8d,0x4e,0x0b,0xa2,0x2f,0x0a,0x20,0xb4,0xc4,0x48,0x7a,0x3c,0xf8,0x05,0xf8,0x3d,0xc3,0x87,0x35,0x93,0xd4,0x66,0x87,0x16,0x20,0xeb,0xb6,0xa7,0x1b,0x4f,0x92};
    static int          borrow56         = 0;
    uint256_from_bytes(minuend, minuend56);
    uint256_from_bytes(subtrahend, subtrahend56);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum56, differencedata, 32) != 0 || borrow56 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend57[32]    = {0xdb,0xb8,0xd3,0x6b,0xa2,0xe5,0xc7,0xd7,0x0c,0x6f,0x2f,0xcc,0x87,0xdd,0x58,0xd9,0xc4,0xad,0x10,0x06,0x1d,0x75,0xcc,0x23,0x43,0xab,0xd7,0xad,0xc8,0xed,0x32,0x13};
    static std::uint8_t subtrahend57[32] = {0x5c,0x39,0x6f,0x5e,0x25,0x6d,0x10,0x82,0x93,0xcd,0xe6,0x09,0x5e,0x73,0x25,0x2b,0xfd,0x91,0x4b,0x0e,0x60,0x30,0x7b,0x75,0x43,0xc6,0xed,0x1e,0x5f,0x18,0x69,0x04};
    static std::uint8_t sum57[32]        = {0x7f,0x7f,0x64,0x0d,0x7d,0x78,0xb7,0x54,0x78,0xa1,0x49,0xc3,0x29,0x6a,0x33,0xad,0xc7,0x1b,0xc4,0xf7,0xbd,0x45,0x50,0xad,0xff,0xe4,0xea,0x8f,0x69,0xd4,0xc9,0x0f};
    static int          borrow57         = 0;
    uint256_from_bytes(minuend, minuend57);
    uint256_from_bytes(subtrahend, subtrahend57);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum57, differencedata, 32) != 0 || borrow57 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend58[32]    = {0xf5,0x3e,0x2c,0x38,0xbe,0x5c,0x39,0x31,0x9d,0x89,0x20,0x98,0x2d,0x3f,0xe2,0x97,0x3a,0xe4,0x61,0x55,0x71,0x39,0x5e,0x71,0x14,0xd5,0xae,0xa4,0xc3,0xbf,0x64,0xe9};
    static std::uint8_t subtrahend58[32] = {0xbf,0x43,0x3e,0x03,0x00,0x75,0x5f,0x64,0xbb,0xa8,0x6d,0xf7,0x50,0x09,0xc0,0xa9,0xe5,0x4e,0x19,0xe5,0xa9,0xe8,0x25,0x81,0xed,0xaf,0x80,0xf3,0x95,0xfb,0x98,0xf9};
    static std::uint8_t sum58[32]        = {0x35,0xfa,0xee,0x35,0xbd,0xe6,0xd9,0xcc,0xe1,0xe0,0xb2,0xa0,0xdd,0x36,0x21,0xed,0x55,0x96,0x47,0x6f,0xc7,0x51,0x38,0xef,0x27,0x26,0x2d,0xb1,0x2d,0xc3,0xcb,0xf0};
    static int          borrow58         = 0;
    uint256_from_bytes(minuend, minuend58);
    uint256_from_bytes(subtrahend, subtrahend58);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum58, differencedata, 32) != 0 || borrow58 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend59[32]    = {0x83,0x3e,0xdd,0x4b,0x6a,0xed,0x88,0x72,0x6e,0xa6,0xd0,0x5e,0xa0,0x28,0x80,0x56,0x9d,0xb5,0x96,0x58,0x4a,0x7d,0x1d,0xbc,0x26,0x3c,0xc4,0xdc,0x38,0xbd,0x3c,0x69};
    static std::uint8_t subtrahend59[32] = {0x0b,0xab,0x5f,0x9f,0xa7,0x32,0x1d,0x31,0x9c,0xce,0x12,0xd5,0x3a,0x2d,0xb0,0x0a,0x7d,0x07,0x6c,0x0b,0x21,0xcc,0x47,0x51,0x0c,0x3b,0x12,0x66,0xe5,0x42,0x45,0x3d};
    static std::uint8_t sum59[32]        = {0x77,0x93,0x7d,0xab,0xc3,0xbb,0x6b,0x40,0xd1,0xd8,0xbd,0x89,0x65,0xfa,0xd0,0x4c,0x20,0xae,0x2a,0x4d,0x28,0xb0,0xd6,0x6b,0x1a,0x01,0xb2,0x75,0x53,0x7a,0xf7,0x2c};
    static int          borrow59         = 0;
    uint256_from_bytes(minuend, minuend59);
    uint256_from_bytes(subtrahend, subtrahend59);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum59, differencedata, 32) != 0 || borrow59 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend60[32]    = {0x0b,0x43,0xb6,0xdd,0x00,0x1a,0x2f,0xd3,0xe7,0x4c,0x00,0xf4,0x2a,0x43,0xf0,0x47,0x3f,0x9d,0x80,0x24,0x7e,0x2b,0x86,0xd1,0xbb,0xc8,0x1f,0x54,0x84,0x80,0x49,0x42};
    static std::uint8_t subtrahend60[32] = {0x24,0x6b,0x94,0x80,0x32,0x7f,0x82,0xf8,0xf0,0xe0,0x2c,0x42,0xa8,0x24,0x09,0xf1,0x8d,0x09,0x49,0x79,0x9c,0xd5,0xf2,0xbb,0x03,0x29,0x60,0x2a,0x1a,0xdb,0xe5,0x33};
    static std::uint8_t sum60[32]        = {0xe6,0xd8,0x22,0x5c,0xcd,0x9a,0xac,0xda,0xf6,0x6b,0xd4,0xb1,0x82,0x1f,0xe6,0x55,0xb2,0x94,0x36,0xaa,0xe1,0x55,0x94,0x16,0xb8,0x9e,0xbf,0x2a,0x69,0xa4,0x64,0x0f};
    static int          borrow60         = -1;
    uint256_from_bytes(minuend, minuend60);
    uint256_from_bytes(subtrahend, subtrahend60);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum60, differencedata, 32) != 0 || borrow60 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend61[32]    = {0x73,0xd6,0x34,0x26,0xa7,0xd0,0xe5,0x97,0xbd,0xe3,0xa6,0xe4,0x14,0x9a,0x3e,0x17,0x77,0x1b,0xa4,0xba,0xe9,0x89,0xda,0x51,0xbe,0xc4,0x9a,0xb4,0x6f,0xc8,0x20,0xd2};
    static std::uint8_t subtrahend61[32] = {0x1f,0x8e,0x65,0x21,0x09,0xef,0xf2,0xb4,0xa4,0xde,0x7a,0x8d,0x3b,0x77,0xcb,0xb4,0x42,0xec,0xdc,0xf9,0x1a,0xf3,0xbd,0xa5,0xff,0x21,0xdd,0x5a,0x39,0xd7,0xc1,0x40};
    static std::uint8_t sum61[32]        = {0x54,0x47,0xcf,0x05,0x9d,0xe0,0xf2,0xe3,0x19,0x05,0x2c,0x56,0xd9,0x22,0x72,0x63,0x34,0x2e,0xc7,0xc1,0xce,0x96,0x1c,0xab,0xbf,0xa2,0xbd,0x5a,0x35,0xf0,0x5f,0x92};
    static int          borrow61         = 0;
    uint256_from_bytes(minuend, minuend61);
    uint256_from_bytes(subtrahend, subtrahend61);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum61, differencedata, 32) != 0 || borrow61 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend62[32]    = {0xb6,0x30,0xf0,0x05,0x43,0x67,0x88,0x56,0xd8,0x67,0xc4,0x66,0xf1,0x5e,0xa8,0x9d,0xb1,0xf2,0xad,0x8b,0xec,0xd8,0x7a,0x48,0xbf,0xe9,0x54,0x13,0xe4,0x2a,0x87,0x2f};
    static std::uint8_t subtrahend62[32] = {0x37,0x8d,0x04,0xea,0xe4,0xe8,0xd8,0xd2,0xf7,0x13,0x77,0xdc,0xed,0xb6,0xce,0x85,0xa4,0x5a,0x52,0x09,0x4b,0xad,0x8e,0x0e,0x43,0xea,0x74,0x71,0xf8,0xcd,0xe5,0x9b};
    static std::uint8_t sum62[32]        = {0x7e,0xa3,0xeb,0x1a,0x5e,0x7e,0xaf,0x83,0xe1,0x54,0x4c,0x8a,0x03,0xa7,0xda,0x18,0x0d,0x98,0x5b,0x82,0xa1,0x2a,0xec,0x3a,0x7b,0xfe,0xdf,0xa1,0xeb,0x5c,0xa1,0x94};
    static int          borrow62         = 0;
    uint256_from_bytes(minuend, minuend62);
    uint256_from_bytes(subtrahend, subtrahend62);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum62, differencedata, 32) != 0 || borrow62 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend63[32]    = {0xe1,0x52,0x7a,0xe4,0x31,0x22,0xc8,0x15,0x53,0xad,0xd8,0x17,0xea,0x3a,0xb6,0xd2,0xbf,0x03,0xc6,0x44,0x28,0xc0,0x6f,0x25,0xf1,0xd7,0xb8,0xaa,0x33,0xe9,0x27,0x23};
    static std::uint8_t subtrahend63[32] = {0x0a,0xa9,0x89,0xb4,0x07,0xe7,0x16,0x6b,0x07,0x5b,0x05,0x8b,0xb3,0x63,0xaf,0x43,0x24,0x4f,0xba,0xfc,0xfa,0x37,0x6a,0x6e,0x58,0x48,0xfc,0x64,0x29,0x6c,0x76,0x4d};
    static std::uint8_t sum63[32]        = {0xd6,0xa8,0xf1,0x30,0x29,0x3b,0xb1,0xaa,0x4c,0x52,0xd2,0x8c,0x36,0xd7,0x07,0x8f,0x9a,0xb4,0x0b,0x47,0x2e,0x89,0x04,0xb7,0x99,0x8e,0xbc,0x46,0x0a,0x7c,0xb0,0xd6};
    static int          borrow63         = 0;
    uint256_from_bytes(minuend, minuend63);
    uint256_from_bytes(subtrahend, subtrahend63);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum63, differencedata, 32) != 0 || borrow63 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend64[32]    = {0x0b,0xf3,0xd0,0xa7,0xbc,0x9d,0xf5,0x99,0x11,0x5d,0x27,0xcf,0xb2,0x6f,0x19,0x28,0x0a,0xea,0xde,0x9b,0xa2,0x45,0xd6,0x58,0xa4,0xbf,0x58,0xe7,0xb1,0x4f,0xe2,0xd6};
    static std::uint8_t subtrahend64[32] = {0x59,0xd4,0xa2,0x8c,0x05,0x5a,0xe9,0x8e,0x42,0xdb,0x5b,0x4b,0x6c,0x7b,0xe3,0x7e,0x56,0x25,0xe6,0x71,0x51,0xb3,0x15,0xec,0x4b,0x61,0xb0,0xfd,0x34,0x7a,0x73,0x25};
    static std::uint8_t sum64[32]        = {0xb2,0x1f,0x2e,0x1b,0xb7,0x43,0x0c,0x0a,0xce,0x81,0xcc,0x84,0x45,0xf3,0x35,0xa9,0xb4,0xc4,0xf8,0x2a,0x50,0x92,0xc0,0x6c,0x59,0x5d,0xa7,0xea,0x7c,0xd5,0x6f,0xb1};
    static int          borrow64         = -1;
    uint256_from_bytes(minuend, minuend64);
    uint256_from_bytes(subtrahend, subtrahend64);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum64, differencedata, 32) != 0 || borrow64 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend65[32]    = {0xbe,0xe3,0x3d,0x4a,0x9e,0x47,0x53,0x94,0x49,0xa3,0x59,0x64,0xd9,0xf3,0xdd,0x45,0x79,0xe0,0x8f,0x86,0x80,0xf4,0xed,0xd8,0x9a,0x1d,0x38,0x76,0xf6,0xc8,0xa6,0x4a};
    static std::uint8_t subtrahend65[32] = {0x58,0xc6,0xae,0xea,0x19,0x2a,0x28,0x29,0xc5,0xe5,0x06,0x41,0x84,0xc4,0x6f,0x72,0x6f,0xbb,0x28,0xf3,0x07,0xff,0xe3,0x8e,0x69,0xb5,0x2f,0xc2,0xc9,0xff,0x90,0x90};
    static std::uint8_t sum65[32]        = {0x66,0x1c,0x8e,0x60,0x85,0x1d,0x2b,0x6a,0x83,0xbe,0x53,0x23,0x55,0x2f,0x6d,0xd3,0x0a,0x25,0x66,0x93,0x78,0xf5,0x0a,0x4a,0x30,0x68,0x08,0xb4,0x2c,0xc9,0x15,0xba};
    static int          borrow65         = 0;
    uint256_from_bytes(minuend, minuend65);
    uint256_from_bytes(subtrahend, subtrahend65);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum65, differencedata, 32) != 0 || borrow65 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend66[32]    = {0xd3,0xec,0xa7,0x51,0xdc,0xbb,0xb7,0x57,0xb6,0xe2,0x44,0x82,0x37,0x71,0x69,0x0c,0x90,0xeb,0xc2,0xc3,0x89,0xb2,0x8a,0x18,0x0c,0x51,0x66,0xf0,0xb4,0x64,0x90,0x35};
    static std::uint8_t subtrahend66[32] = {0x33,0xb8,0x93,0xa5,0x86,0x07,0xbf,0xbf,0x00,0x55,0x22,0x93,0x6f,0xa1,0x76,0xac,0x2b,0x9d,0x73,0x64,0x49,0x80,0x05,0x25,0xd1,0xdf,0x24,0xd0,0x93,0x15,0x1c,0xf9};
    static std::uint8_t sum66[32]        = {0xa0,0x34,0x13,0xac,0x56,0xb3,0xf7,0x98,0xb6,0x8d,0x21,0xee,0xc7,0xcf,0xf2,0x60,0x65,0x4e,0x4f,0x5f,0x40,0x32,0x84,0xf2,0x3a,0x72,0x42,0x20,0x21,0x4f,0x73,0x3c};
    static int          borrow66         = 0;
    uint256_from_bytes(minuend, minuend66);
    uint256_from_bytes(subtrahend, subtrahend66);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum66, differencedata, 32) != 0 || borrow66 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend67[32]    = {0x18,0x7f,0x13,0x2d,0x7d,0xa6,0x93,0x70,0x59,0x09,0xa9,0x58,0x01,0x1d,0xd8,0xb3,0x0d,0xd0,0x9e,0x51,0xfa,0x55,0x68,0x35,0xc0,0x21,0xfa,0x1b,0xc3,0x1e,0x4b,0x97};
    static std::uint8_t subtrahend67[32] = {0xd0,0xb3,0xa1,0x75,0x48,0xa2,0x83,0x54,0x28,0xad,0x5d,0xc9,0xf1,0xa1,0x75,0x00,0x93,0xf8,0x4a,0xde,0x42,0xb5,0x0c,0x7c,0x83,0xe0,0x3b,0x8d,0xd4,0xf3,0x31,0x8e};
    static std::uint8_t sum67[32]        = {0x47,0xcb,0x71,0xb8,0x35,0x04,0x10,0x1c,0x30,0x5c,0x4b,0x8e,0x0f,0x7c,0x63,0xb2,0x79,0xd8,0x53,0x73,0xb7,0xa0,0x5b,0xb9,0x3c,0x41,0xbe,0x8d,0xee,0x2b,0x1a,0x09};
    static int          borrow67         = -1;
    uint256_from_bytes(minuend, minuend67);
    uint256_from_bytes(subtrahend, subtrahend67);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum67, differencedata, 32) != 0 || borrow67 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend68[32]    = {0x4d,0x9a,0xa6,0x96,0x34,0xc4,0x11,0xc3,0x5f,0x38,0x1d,0x79,0x06,0x71,0xce,0x23,0xa5,0x57,0x41,0xcb,0xe3,0x71,0x61,0x3e,0x6c,0x10,0xb6,0x01,0x16,0x0f,0x6d,0x6e};
    static std::uint8_t subtrahend68[32] = {0x76,0x91,0x77,0x52,0x2b,0x67,0xa9,0xfd,0x52,0xc6,0x02,0xe2,0xbd,0xf2,0xe0,0x77,0x8d,0xc1,0xa4,0x3e,0xa9,0x7f,0x65,0xbd,0x73,0x47,0x4a,0xa9,0xd7,0xd5,0xcc,0xbe};
    static std::uint8_t sum68[32]        = {0xd7,0x09,0x2f,0x44,0x09,0x5c,0x67,0xc6,0x0c,0x72,0x1a,0x96,0x48,0x7e,0xed,0xac,0x17,0x95,0x9d,0x8d,0x39,0xf1,0xfb,0x80,0xf8,0xc9,0x6b,0x57,0x3e,0x39,0xa0,0xb0};
    static int          borrow68         = -1;
    uint256_from_bytes(minuend, minuend68);
    uint256_from_bytes(subtrahend, subtrahend68);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum68, differencedata, 32) != 0 || borrow68 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend69[32]    = {0xf4,0xae,0xdd,0x02,0x53,0xfc,0xba,0x58,0x3c,0x78,0x75,0x66,0x29,0x32,0x56,0xb6,0x59,0x3f,0xf3,0xdf,0x85,0xad,0x81,0xd7,0x9a,0x57,0x55,0x55,0x53,0x99,0x9a,0xc8};
    static std::uint8_t subtrahend69[32] = {0x1b,0x5b,0xd0,0x42,0xe9,0x51,0xac,0xba,0xa3,0x52,0xb6,0xb5,0x1b,0xf9,0xb6,0x83,0x32,0x39,0x91,0xaf,0x46,0x19,0x1a,0xa0,0x6f,0x57,0x1d,0x36,0x4c,0x22,0xb1,0xf4};
    static std::uint8_t sum69[32]        = {0xd9,0x53,0x0c,0xbf,0x6a,0xab,0x0d,0x9d,0x99,0x25,0xbe,0xb1,0x0d,0x38,0xa0,0x33,0x27,0x06,0x62,0x30,0x3f,0x94,0x67,0x37,0x2b,0x00,0x38,0x1f,0x07,0x76,0xe8,0xd4};
    static int          borrow69         = 0;
    uint256_from_bytes(minuend, minuend69);
    uint256_from_bytes(subtrahend, subtrahend69);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum69, differencedata, 32) != 0 || borrow69 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend70[32]    = {0x76,0x99,0x78,0x19,0x4b,0xd4,0xa2,0x1c,0xa1,0xe3,0x81,0xf9,0xfb,0x1b,0x09,0x02,0x80,0x1f,0xe3,0x0b,0x38,0xf2,0xa0,0x31,0xb1,0x85,0x3d,0xc0,0x6f,0xc0,0x4d,0x79};
    static std::uint8_t subtrahend70[32] = {0x74,0x32,0xf7,0x9d,0x1f,0xcc,0x96,0x34,0xa4,0x3b,0xe3,0x68,0x2e,0x77,0x1b,0xd6,0xad,0xfa,0x09,0xb0,0x3a,0x85,0xee,0xd0,0xda,0x39,0xc4,0xea,0x95,0x71,0x62,0x3c};
    static std::uint8_t sum70[32]        = {0x02,0x66,0x80,0x7c,0x2c,0x08,0x0b,0xe7,0xfd,0xa7,0x9e,0x91,0xcc,0xa3,0xed,0x2b,0xd2,0x25,0xd9,0x5a,0xfe,0x6c,0xb1,0x60,0xd7,0x4b,0x78,0xd5,0xda,0x4e,0xeb,0x3d};
    static int          borrow70         = 0;
    uint256_from_bytes(minuend, minuend70);
    uint256_from_bytes(subtrahend, subtrahend70);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum70, differencedata, 32) != 0 || borrow70 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend71[32]    = {0x6c,0x6f,0xba,0x96,0xd9,0x74,0xfe,0xc5,0x40,0x03,0xff,0x33,0x28,0x0d,0xa8,0x53,0xa1,0x2e,0x6d,0xf3,0xb6,0x6f,0x47,0xac,0xb6,0x91,0x07,0x80,0x66,0x6f,0x0c,0x32};
    static std::uint8_t subtrahend71[32] = {0x37,0xc7,0x14,0xcf,0x8b,0x19,0xa2,0xb6,0x40,0x50,0x28,0x45,0x09,0xc3,0xe7,0xc0,0x1b,0x3b,0xb8,0x90,0xf9,0x80,0xaa,0xe3,0xe8,0x7f,0x44,0xb1,0x7d,0x66,0x2a,0x32};
    static std::uint8_t sum71[32]        = {0x34,0xa8,0xa5,0xc7,0x4e,0x5b,0x5c,0x0e,0xff,0xb3,0xd6,0xee,0x1e,0x49,0xc0,0x93,0x85,0xf2,0xb5,0x62,0xbc,0xee,0x9c,0xc8,0xce,0x11,0xc2,0xce,0xe9,0x08,0xe2,0x00};
    static int          borrow71         = 0;
    uint256_from_bytes(minuend, minuend71);
    uint256_from_bytes(subtrahend, subtrahend71);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum71, differencedata, 32) != 0 || borrow71 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend72[32]    = {0xf2,0xae,0x55,0x6f,0xbd,0xfa,0xea,0x88,0x69,0x0c,0x9b,0xf8,0x57,0xc5,0x23,0x02,0x85,0x8d,0x5c,0xd2,0x5e,0xb2,0xad,0x7e,0xd4,0x38,0x61,0xce,0xca,0xe5,0xa8,0x71};
    static std::uint8_t subtrahend72[32] = {0xee,0xc4,0xe7,0x99,0xc3,0x40,0x6a,0x1a,0x83,0x87,0xe0,0xe4,0x64,0x7a,0x6c,0x08,0x2f,0x0d,0xb0,0x88,0xaf,0x32,0x3c,0x2d,0xfd,0x82,0xdb,0x76,0x35,0xc8,0x6b,0x78};
    static std::uint8_t sum72[32]        = {0x03,0xe9,0x6d,0xd5,0xfa,0xba,0x80,0x6d,0xe5,0x84,0xbb,0x13,0xf3,0x4a,0xb6,0xfa,0x56,0x7f,0xac,0x49,0xaf,0x80,0x71,0x50,0xd6,0xb5,0x86,0x58,0x95,0x1d,0x3c,0xf9};
    static int          borrow72         = 0;
    uint256_from_bytes(minuend, minuend72);
    uint256_from_bytes(subtrahend, subtrahend72);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum72, differencedata, 32) != 0 || borrow72 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend73[32]    = {0x46,0x3c,0x46,0x50,0x40,0xa1,0x11,0xb9,0x0e,0x7e,0x89,0x94,0xa3,0x37,0xb5,0xa6,0x5b,0x00,0x47,0x53,0x9d,0x2f,0x41,0x16,0xfc,0x06,0x1e,0x1f,0xba,0xa6,0xb8,0xe6};
    static std::uint8_t subtrahend73[32] = {0xbd,0xd1,0x04,0xd7,0x4d,0xb1,0xdf,0x93,0x39,0x74,0x11,0x56,0x1b,0xf8,0x5d,0x11,0x43,0xe1,0x5c,0x55,0x94,0x86,0x5d,0x85,0x5a,0x24,0xdd,0x36,0xac,0xc5,0x34,0x66};
    static std::uint8_t sum73[32]        = {0x88,0x6b,0x41,0x78,0xf2,0xef,0x32,0x25,0xd5,0x0a,0x78,0x3e,0x87,0x3f,0x58,0x95,0x17,0x1e,0xea,0xfe,0x08,0xa8,0xe3,0x91,0xa1,0xe1,0x40,0xe9,0x0d,0xe1,0x84,0x80};
    static int          borrow73         = -1;
    uint256_from_bytes(minuend, minuend73);
    uint256_from_bytes(subtrahend, subtrahend73);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum73, differencedata, 32) != 0 || borrow73 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend74[32]    = {0xf5,0xfa,0x5d,0x74,0xcd,0x2e,0x46,0x76,0xfe,0x85,0xdf,0xb1,0x38,0x0a,0xb1,0xd7,0xf8,0xb4,0x4b,0xc2,0x86,0xee,0x7b,0x4f,0xf4,0x1e,0x74,0xe6,0xf0,0x9f,0x57,0x91};
    static std::uint8_t subtrahend74[32] = {0xd0,0xf1,0x1e,0x05,0xcb,0x95,0xf3,0x72,0xd1,0x98,0xe3,0xb8,0xd4,0xa8,0xb1,0xa7,0xa3,0x88,0x2a,0x8a,0xaa,0x81,0x73,0xcf,0x5a,0x66,0xd7,0x1a,0x25,0x71,0x85,0xb5};
    static std::uint8_t sum74[32]        = {0x25,0x09,0x3f,0x6f,0x01,0x98,0x53,0x04,0x2c,0xec,0xfb,0xf8,0x63,0x62,0x00,0x30,0x55,0x2c,0x21,0x37,0xdc,0x6d,0x07,0x80,0x99,0xb7,0x9d,0xcc,0xcb,0x2d,0xd1,0xdc};
    static int          borrow74         = 0;
    uint256_from_bytes(minuend, minuend74);
    uint256_from_bytes(subtrahend, subtrahend74);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum74, differencedata, 32) != 0 || borrow74 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend75[32]    = {0x7a,0xc3,0xca,0xf8,0x52,0x00,0x86,0x6c,0x4d,0x44,0x17,0xea,0xa7,0x86,0xef,0xfc,0x3e,0xb6,0x2c,0x1c,0x5b,0xa4,0x68,0x81,0x47,0xfd,0x7d,0x46,0xcc,0x85,0x8e,0xe3};
    static std::uint8_t subtrahend75[32] = {0xe7,0xe2,0xe6,0x07,0x90,0x88,0xec,0x8a,0xd3,0xf1,0x3f,0x19,0x15,0xd4,0xe7,0xc2,0x0e,0x9b,0xac,0x31,0x62,0x96,0x9d,0x5a,0xda,0xbc,0xf0,0x04,0x4d,0x9c,0x76,0x71};
    static std::uint8_t sum75[32]        = {0x92,0xe0,0xe4,0xf0,0xc1,0x77,0x99,0xe1,0x79,0x52,0xd8,0xd1,0x91,0xb2,0x08,0x3a,0x30,0x1a,0x7f,0xea,0xf9,0x0d,0xcb,0x26,0x6d,0x40,0x8d,0x42,0x7e,0xe9,0x18,0x72};
    static int          borrow75         = -1;
    uint256_from_bytes(minuend, minuend75);
    uint256_from_bytes(subtrahend, subtrahend75);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum75, differencedata, 32) != 0 || borrow75 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend76[32]    = {0x95,0x1b,0xcb,0x26,0xa2,0x16,0xed,0x03,0x58,0x5b,0xc3,0xad,0xd4,0xd1,0xe9,0x69,0x87,0xd8,0x89,0x17,0x23,0xf1,0x5d,0xdf,0xf1,0x4f,0x10,0xcb,0xc8,0xb6,0xbe,0x1f};
    static std::uint8_t subtrahend76[32] = {0x73,0xb3,0xa2,0xcf,0xc6,0xbb,0xf6,0x58,0x2f,0x87,0xa4,0x29,0x3b,0xcf,0xec,0xf9,0xda,0xab,0x23,0x02,0x24,0x8a,0x1e,0xdf,0x94,0x17,0xbb,0x43,0x19,0xfc,0xaf,0xba};
    static std::uint8_t sum76[32]        = {0x21,0x68,0x28,0x56,0xdb,0x5a,0xf6,0xab,0x28,0xd4,0x1f,0x84,0x99,0x01,0xfc,0x6f,0xad,0x2d,0x66,0x14,0xff,0x67,0x3f,0x00,0x5d,0x37,0x55,0x88,0xae,0xba,0x0e,0x65};
    static int          borrow76         = 0;
    uint256_from_bytes(minuend, minuend76);
    uint256_from_bytes(subtrahend, subtrahend76);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum76, differencedata, 32) != 0 || borrow76 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend77[32]    = {0xb1,0x5a,0xdc,0xf2,0x7e,0x95,0x08,0xcb,0x32,0x86,0xdf,0xae,0x4c,0x0b,0x0f,0x70,0xd6,0xbb,0xcb,0x67,0xa2,0xf7,0xe7,0xf9,0xc9,0xbf,0x34,0xca,0x8c,0x6a,0x8f,0xcf};
    static std::uint8_t subtrahend77[32] = {0x3f,0x1e,0xfd,0x5b,0x7d,0xca,0x92,0x02,0xb3,0x4e,0xd4,0xfa,0x24,0xf8,0xc3,0x85,0xe7,0xcc,0x72,0x15,0x77,0x93,0x7b,0x86,0x7b,0xff,0xb6,0xa4,0x0e,0xf6,0xdf,0x4f};
    static std::uint8_t sum77[32]        = {0x72,0x3b,0xdf,0x97,0x00,0xca,0x76,0xc8,0x7f,0x38,0x0a,0xb4,0x27,0x12,0x4b,0xea,0xee,0xef,0x59,0x52,0x2b,0x64,0x6c,0x73,0x4d,0xbf,0x7e,0x26,0x7d,0x73,0xb0,0x80};
    static int          borrow77         = 0;
    uint256_from_bytes(minuend, minuend77);
    uint256_from_bytes(subtrahend, subtrahend77);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum77, differencedata, 32) != 0 || borrow77 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend78[32]    = {0xd7,0x3c,0x8a,0x36,0x29,0x0d,0x2e,0xc3,0x01,0xb0,0xfb,0x6a,0xbc,0x0e,0x08,0x65,0xdc,0xe5,0x8d,0x7d,0x99,0x7f,0x7d,0xf0,0x8a,0x1f,0x78,0x83,0x2a,0x24,0x4c,0xae};
    static std::uint8_t subtrahend78[32] = {0x77,0x3c,0x2b,0x1a,0xd7,0x2f,0x53,0x7c,0x4b,0xfc,0x3a,0x30,0xaa,0x51,0x22,0xf7,0x7f,0x63,0x23,0xa3,0x90,0x04,0x85,0x42,0xb2,0x25,0x8e,0x57,0x77,0xcc,0x40,0xda};
    static std::uint8_t sum78[32]        = {0x60,0x00,0x5f,0x1b,0x51,0xdd,0xdb,0x46,0xb5,0xb4,0xc1,0x3a,0x11,0xbc,0xe5,0x6e,0x5d,0x82,0x69,0xda,0x09,0x7a,0xf8,0xad,0xd7,0xf9,0xea,0x2b,0xb2,0x58,0x0b,0xd4};
    static int          borrow78         = 0;
    uint256_from_bytes(minuend, minuend78);
    uint256_from_bytes(subtrahend, subtrahend78);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum78, differencedata, 32) != 0 || borrow78 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend79[32]    = {0xa3,0x15,0x1d,0x0c,0x2e,0x36,0x7d,0xcb,0x13,0x4d,0x2c,0x81,0xad,0x0a,0xd3,0x87,0xf5,0xea,0xc4,0xc1,0xff,0xfc,0xbf,0xf7,0x6b,0x37,0x94,0x13,0x6d,0x02,0x27,0xc2};
    static std::uint8_t subtrahend79[32] = {0x20,0x7c,0x9f,0x6c,0xa0,0x12,0x35,0xb8,0x6a,0x64,0x35,0x31,0xb7,0xda,0xea,0x11,0x36,0x9e,0xe1,0x45,0x08,0xad,0x79,0x4c,0x24,0xfd,0x41,0x72,0xe5,0xc6,0x9b,0x8e};
    static std::uint8_t sum79[32]        = {0x82,0x98,0x7d,0x9f,0x8e,0x24,0x48,0x12,0xa8,0xe8,0xf7,0x4f,0xf5,0x2f,0xe9,0x76,0xbf,0x4b,0xe3,0x7c,0xf7,0x4f,0x46,0xab,0x46,0x3a,0x52,0xa0,0x87,0x3b,0x8c,0x34};
    static int          borrow79         = 0;
    uint256_from_bytes(minuend, minuend79);
    uint256_from_bytes(subtrahend, subtrahend79);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum79, differencedata, 32) != 0 || borrow79 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend80[32]    = {0x67,0x5a,0xd4,0x61,0x7e,0x65,0x1b,0xa5,0xd3,0xe6,0x61,0x59,0x5a,0xec,0xfa,0xbb,0x4a,0xfa,0x5e,0x69,0x4a,0x05,0x9e,0x92,0xd3,0xa4,0x3d,0x90,0x0d,0x7f,0x13,0x9b};
    static std::uint8_t subtrahend80[32] = {0x4c,0x99,0xa6,0xaf,0xb6,0x93,0x07,0xf8,0x51,0x2d,0x12,0x6e,0x31,0x3b,0x25,0x9a,0x54,0xb5,0x9e,0x2d,0x1e,0x30,0x8b,0x51,0xca,0xbd,0x4f,0x53,0x7e,0x00,0x5b,0xd9};
    static std::uint8_t sum80[32]        = {0x1a,0xc1,0x2d,0xb1,0xc7,0xd2,0x13,0xad,0x82,0xb9,0x4e,0xeb,0x29,0xb1,0xd5,0x20,0xf6,0x44,0xc0,0x3c,0x2b,0xd5,0x13,0x41,0x08,0xe6,0xee,0x3c,0x8f,0x7e,0xb7,0xc2};
    static int          borrow80         = 0;
    uint256_from_bytes(minuend, minuend80);
    uint256_from_bytes(subtrahend, subtrahend80);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum80, differencedata, 32) != 0 || borrow80 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend81[32]    = {0x4c,0xe7,0x6f,0x14,0x66,0x02,0xec,0x12,0x0c,0xb9,0x1c,0xbe,0x92,0xf4,0x8d,0x21,0x8b,0x9f,0x68,0x4a,0x67,0xf1,0x86,0xa2,0xe2,0xb6,0xc5,0x0c,0x8d,0xe6,0x37,0x50};
    static std::uint8_t subtrahend81[32] = {0x9d,0xdf,0xfe,0xc8,0x60,0x44,0x6e,0xf6,0x9c,0x9a,0xff,0xde,0x8b,0x2c,0xa2,0x82,0xe8,0xea,0x1b,0x43,0x80,0x37,0x3b,0xa8,0xc9,0xfd,0xac,0x3d,0x0f,0x65,0xe8,0xf4};
    static std::uint8_t sum81[32]        = {0xaf,0x07,0x70,0x4c,0x05,0xbe,0x7d,0x1b,0x70,0x1e,0x1c,0xe0,0x07,0xc7,0xea,0x9e,0xa2,0xb5,0x4d,0x06,0xe7,0xba,0x4a,0xfa,0x18,0xb9,0x18,0xcf,0x7e,0x80,0x4e,0x5c};
    static int          borrow81         = -1;
    uint256_from_bytes(minuend, minuend81);
    uint256_from_bytes(subtrahend, subtrahend81);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum81, differencedata, 32) != 0 || borrow81 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend82[32]    = {0x15,0x3f,0xb2,0xcd,0xae,0x54,0xa8,0x36,0xe0,0x56,0xa8,0xd5,0x98,0xa7,0xa8,0x6f,0xb0,0x6a,0x7c,0x91,0xb2,0x47,0x80,0x1d,0xac,0x77,0xa0,0x55,0xa0,0x76,0xe6,0x4b};
    static std::uint8_t subtrahend82[32] = {0x05,0x38,0x69,0xeb,0x51,0x87,0xb6,0xec,0x08,0xc4,0x01,0xa1,0x6b,0xfa,0x15,0x35,0x2f,0x4d,0x80,0x51,0x4d,0x52,0x84,0xb5,0xdc,0xc9,0x8e,0x43,0x42,0x0c,0x77,0x38};
    static std::uint8_t sum82[32]        = {0x10,0x07,0x48,0xe2,0x5c,0xcc,0xf1,0x4a,0xd7,0x92,0xa7,0x34,0x2c,0xad,0x93,0x3a,0x81,0x1c,0xfc,0x40,0x64,0xf4,0xfb,0x67,0xcf,0xae,0x12,0x12,0x5e,0x6a,0x6f,0x13};
    static int          borrow82         = 0;
    uint256_from_bytes(minuend, minuend82);
    uint256_from_bytes(subtrahend, subtrahend82);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum82, differencedata, 32) != 0 || borrow82 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend83[32]    = {0x8c,0x7e,0x80,0xc1,0x69,0x94,0x2a,0xbd,0xc5,0x17,0x4a,0x9f,0x79,0xb6,0xfc,0xb9,0x27,0xc1,0x7a,0x26,0xfb,0x14,0xb1,0x95,0xa8,0xce,0x40,0x82,0xf0,0x0e,0x60,0xf8};
    static std::uint8_t subtrahend83[32] = {0x03,0xf9,0xc7,0x3e,0xa0,0x7c,0x30,0xa8,0x26,0xda,0x05,0x3e,0xe5,0x51,0x55,0x0e,0x36,0x57,0xc7,0xbb,0x78,0xe1,0x9b,0xe6,0xa4,0xfe,0x55,0x61,0x15,0x3a,0x8e,0x30};
    static std::uint8_t sum83[32]        = {0x88,0x84,0xb9,0x82,0xc9,0x17,0xfa,0x15,0x9e,0x3d,0x45,0x60,0x94,0x65,0xa7,0xaa,0xf1,0x69,0xb2,0x6b,0x82,0x33,0x15,0xaf,0x03,0xcf,0xeb,0x21,0xda,0xd3,0xd2,0xc8};
    static int          borrow83         = 0;
    uint256_from_bytes(minuend, minuend83);
    uint256_from_bytes(subtrahend, subtrahend83);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum83, differencedata, 32) != 0 || borrow83 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend84[32]    = {0xdb,0xc4,0x7e,0x5e,0xf7,0x62,0x9c,0xb0,0xfc,0x94,0xfa,0x42,0x1f,0x25,0xd2,0x3d,0xab,0x5b,0x95,0xf4,0xaf,0x0a,0xf7,0x48,0x02,0x63,0x48,0xf7,0x01,0x39,0x7a,0x29};
    static std::uint8_t subtrahend84[32] = {0x15,0x94,0x01,0x1e,0xc2,0x64,0xab,0x93,0xba,0xcf,0x0b,0xd8,0x25,0x11,0x95,0x7e,0xdb,0x01,0xb9,0xf2,0xb1,0xe1,0x36,0x63,0xb6,0xab,0x58,0xca,0xbf,0x4b,0x3d,0x45};
    static std::uint8_t sum84[32]        = {0xc6,0x30,0x7d,0x40,0x34,0xfd,0xf1,0x1d,0x41,0xc5,0xee,0x69,0xfa,0x14,0x3c,0xbe,0xd0,0x59,0xdc,0x01,0xfd,0x29,0xc0,0xe4,0x4b,0xb7,0xf0,0x2c,0x41,0xee,0x3c,0xe4};
    static int          borrow84         = 0;
    uint256_from_bytes(minuend, minuend84);
    uint256_from_bytes(subtrahend, subtrahend84);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum84, differencedata, 32) != 0 || borrow84 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend85[32]    = {0xe3,0xd7,0x7f,0x01,0xee,0xae,0x46,0x12,0xab,0x67,0x0e,0x4d,0x75,0xe8,0x8d,0x7e,0x7f,0x83,0x45,0x33,0xb5,0x90,0x6f,0x57,0x8e,0xb7,0x98,0x0d,0xa0,0xed,0x72,0x77};
    static std::uint8_t subtrahend85[32] = {0x0f,0x4d,0xad,0x88,0x9b,0xe4,0x07,0x8c,0x7c,0x80,0x05,0xc5,0xd5,0xbd,0x01,0x32,0xdc,0x68,0x5e,0x91,0xf5,0x2b,0xc6,0x55,0x2a,0x7e,0xc8,0x06,0x99,0xa1,0x6b,0x9e};
    static std::uint8_t sum85[32]        = {0xd4,0x89,0xd1,0x79,0x52,0xca,0x3e,0x86,0x2e,0xe7,0x08,0x87,0xa0,0x2b,0x8c,0x4b,0xa3,0x1a,0xe6,0xa1,0xc0,0x64,0xa9,0x02,0x64,0x38,0xd0,0x07,0x07,0x4c,0x06,0xd9};
    static int          borrow85         = 0;
    uint256_from_bytes(minuend, minuend85);
    uint256_from_bytes(subtrahend, subtrahend85);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum85, differencedata, 32) != 0 || borrow85 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend86[32]    = {0x2a,0x9d,0xcb,0x87,0xad,0x47,0xf8,0xfa,0x78,0x44,0xf2,0x40,0x70,0x50,0x33,0x08,0xba,0x4e,0xe7,0x7a,0x93,0x30,0xca,0x45,0xf2,0xe1,0xee,0xcd,0x5e,0x18,0xc7,0x12};
    static std::uint8_t subtrahend86[32] = {0x43,0x56,0xe3,0x58,0x52,0x4f,0x85,0x3f,0x00,0x6e,0x6d,0xa2,0xb0,0x45,0x16,0xb7,0x48,0x86,0xf5,0x72,0x73,0x86,0x65,0x61,0xce,0xb7,0x1a,0x8f,0x3b,0xfe,0x93,0x8f};
    static std::uint8_t sum86[32]        = {0xe7,0x46,0xe8,0x2f,0x5a,0xf8,0x73,0xbb,0x77,0xd6,0x84,0x9d,0xc0,0x0b,0x1c,0x51,0x71,0xc7,0xf2,0x08,0x1f,0xaa,0x64,0xe4,0x24,0x2a,0xd4,0x3e,0x22,0x1a,0x33,0x83};
    static int          borrow86         = -1;
    uint256_from_bytes(minuend, minuend86);
    uint256_from_bytes(subtrahend, subtrahend86);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum86, differencedata, 32) != 0 || borrow86 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend87[32]    = {0xc8,0x78,0x9a,0xe0,0xe3,0x2e,0xf1,0xea,0xc3,0x69,0x34,0x86,0xd0,0xe4,0x78,0x43,0xeb,0xac,0x31,0xfb,0x96,0x2e,0x3c,0x84,0x28,0x43,0x87,0xee,0x6c,0x28,0xf6,0x18};
    static std::uint8_t subtrahend87[32] = {0x92,0x68,0x93,0xed,0xfe,0x2a,0x7b,0x12,0xde,0x01,0x28,0x2a,0xe3,0xff,0x2d,0xd0,0xcf,0xcf,0x01,0x96,0x24,0x02,0xee,0xb0,0xd5,0x4e,0xa0,0x35,0x49,0xdc,0x8a,0x9f};
    static std::uint8_t sum87[32]        = {0x36,0x10,0x06,0xf2,0xe5,0x04,0x76,0xd7,0xe5,0x68,0x0c,0x5b,0xec,0xe5,0x4a,0x73,0x1b,0xdd,0x30,0x65,0x72,0x2b,0x4d,0xd3,0x52,0xf4,0xe7,0xb9,0x22,0x4c,0x6b,0x79};
    static int          borrow87         = 0;
    uint256_from_bytes(minuend, minuend87);
    uint256_from_bytes(subtrahend, subtrahend87);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum87, differencedata, 32) != 0 || borrow87 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend88[32]    = {0xcc,0x21,0xa8,0x7a,0x7c,0x19,0x64,0xbb,0x8d,0xbd,0x9a,0x53,0x8a,0x3c,0x35,0x02,0x15,0xc6,0xb9,0xa6,0x88,0xd8,0xc0,0xa5,0x58,0xcb,0x5f,0xde,0x7f,0xfe,0x6c,0x7d};
    static std::uint8_t subtrahend88[32] = {0xe5,0x9d,0x25,0x52,0x85,0x62,0xda,0x19,0x94,0x60,0x09,0xc1,0x65,0xef,0x8d,0xb0,0x3b,0x9d,0x22,0x6a,0x10,0x08,0x99,0xd1,0xc5,0xac,0xb0,0x68,0x5a,0xe8,0x2b,0x36};
    static std::uint8_t sum88[32]        = {0xe6,0x84,0x83,0x27,0xf6,0xb6,0x8a,0xa1,0xf9,0x5d,0x90,0x92,0x24,0x4c,0xa7,0x51,0xda,0x29,0x97,0x3c,0x78,0xd0,0x26,0xd3,0x93,0x1e,0xaf,0x76,0x25,0x16,0x41,0x47};
    static int          borrow88         = -1;
    uint256_from_bytes(minuend, minuend88);
    uint256_from_bytes(subtrahend, subtrahend88);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum88, differencedata, 32) != 0 || borrow88 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend89[32]    = {0x33,0xad,0xba,0x6f,0x96,0xde,0x3d,0xda,0x81,0x94,0x45,0x5d,0x7a,0x01,0x8e,0x0c,0x52,0x2c,0x95,0x83,0x85,0x98,0x85,0x3a,0xd5,0x54,0xfc,0x05,0xe2,0x95,0x85,0x12};
    static std::uint8_t subtrahend89[32] = {0x3f,0x0d,0xd5,0x83,0x26,0x25,0x74,0x8a,0xdb,0x61,0x1f,0x75,0x84,0x68,0x5b,0x61,0xc7,0x96,0x64,0x70,0x67,0x09,0xab,0x4c,0x5b,0xe0,0x40,0x57,0x90,0x7e,0x89,0x7c};
    static std::uint8_t sum89[32]        = {0xf4,0x9f,0xe4,0xec,0x70,0xb8,0xc9,0x4f,0xa6,0x33,0x25,0xe7,0xf5,0x99,0x32,0xaa,0x8a,0x96,0x31,0x13,0x1e,0x8e,0xd9,0xee,0x79,0x74,0xbb,0xae,0x52,0x16,0xfb,0x96};
    static int          borrow89         = -1;
    uint256_from_bytes(minuend, minuend89);
    uint256_from_bytes(subtrahend, subtrahend89);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum89, differencedata, 32) != 0 || borrow89 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend90[32]    = {0xa1,0xfb,0x68,0xf1,0x5f,0x25,0xa7,0xfe,0x1b,0x2a,0x91,0x34,0xdd,0xca,0x8b,0x0c,0x5f,0xc1,0x1c,0xc0,0x7e,0x46,0xda,0x13,0xff,0x44,0xab,0xde,0xec,0x30,0xb3,0xc2};
    static std::uint8_t subtrahend90[32] = {0x47,0xa2,0x93,0xf3,0xc7,0x79,0x0c,0x37,0xec,0xed,0x43,0x01,0x42,0xf8,0x03,0xf4,0x36,0xad,0x61,0xdd,0x91,0x32,0xf7,0xad,0x96,0x32,0xb0,0x91,0x7c,0x7f,0x2c,0xba};
    static std::uint8_t sum90[32]        = {0x5a,0x58,0xd4,0xfd,0x97,0xac,0x9b,0xc6,0x2e,0x3d,0x4e,0x33,0x9a,0xd2,0x87,0x18,0x29,0x13,0xba,0xe2,0xed,0x13,0xe2,0x66,0x69,0x11,0xfb,0x4d,0x6f,0xb1,0x87,0x08};
    static int          borrow90         = 0;
    uint256_from_bytes(minuend, minuend90);
    uint256_from_bytes(subtrahend, subtrahend90);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum90, differencedata, 32) != 0 || borrow90 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend91[32]    = {0xf6,0xa5,0xda,0x24,0x9b,0xd5,0x41,0xeb,0xd1,0x9e,0xe4,0x3f,0x97,0xd6,0xb9,0x1b,0xc4,0x6a,0x6d,0x88,0x72,0x65,0x88,0x33,0xf2,0x4d,0xcb,0xf1,0x18,0xdc,0x0d,0xdb};
    static std::uint8_t subtrahend91[32] = {0x60,0xd1,0xd9,0x05,0x2e,0x44,0xac,0xcb,0xfe,0x9f,0x0b,0xb4,0x33,0x74,0x05,0xbf,0x56,0xbe,0x6d,0x2a,0x09,0xb1,0xe1,0xfb,0xd7,0xff,0xc8,0xcd,0x41,0x05,0xd9,0xf9};
    static std::uint8_t sum91[32]        = {0x95,0xd4,0x01,0x1f,0x6d,0x90,0x95,0x1f,0xd2,0xff,0xd8,0x8b,0x64,0x62,0xb3,0x5c,0x6d,0xac,0x00,0x5e,0x68,0xb3,0xa6,0x38,0x1a,0x4e,0x03,0x23,0xd7,0xd6,0x33,0xe2};
    static int          borrow91         = 0;
    uint256_from_bytes(minuend, minuend91);
    uint256_from_bytes(subtrahend, subtrahend91);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum91, differencedata, 32) != 0 || borrow91 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend92[32]    = {0x75,0x51,0xe6,0x38,0xb4,0xa0,0x41,0xf3,0xde,0xe4,0x06,0xe8,0x5e,0xa0,0x49,0xa4,0x8e,0xb0,0x78,0xc8,0x08,0xe9,0x50,0x0c,0x0d,0x0e,0x2c,0x33,0x07,0x0b,0x80,0xf4};
    static std::uint8_t subtrahend92[32] = {0xa3,0xcc,0xb0,0xa4,0x99,0x1a,0xff,0x0a,0xdc,0xeb,0x9e,0x13,0x10,0x6e,0x7b,0x8c,0xe5,0x11,0xb4,0x11,0xe8,0xf0,0x7f,0x9f,0xd8,0x79,0x9b,0xfe,0xf2,0x7c,0x07,0xf5};
    static std::uint8_t sum92[32]        = {0xd1,0x85,0x35,0x94,0x1b,0x85,0x42,0xe9,0x01,0xf8,0x68,0xd5,0x4e,0x31,0xce,0x17,0xa9,0x9e,0xc4,0xb6,0x1f,0xf8,0xd0,0x6c,0x34,0x94,0x90,0x34,0x14,0x8f,0x78,0xff};
    static int          borrow92         = -1;
    uint256_from_bytes(minuend, minuend92);
    uint256_from_bytes(subtrahend, subtrahend92);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum92, differencedata, 32) != 0 || borrow92 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend93[32]    = {0x90,0x81,0x82,0xd0,0x51,0x97,0x04,0x4a,0x41,0xd7,0x72,0x53,0x17,0x07,0x6e,0x31,0xf5,0x94,0x76,0x75,0xb4,0xd5,0x14,0xc0,0x1e,0xb2,0xd1,0x25,0xec,0x12,0x54,0x88};
    static std::uint8_t subtrahend93[32] = {0x2e,0xc3,0x7a,0xc9,0x64,0xa3,0x66,0x74,0x81,0xaa,0x0c,0xf0,0xab,0x72,0xde,0x07,0xeb,0xbf,0x2d,0xac,0xf4,0xd7,0xf1,0x53,0x16,0xfc,0x08,0xe0,0xa4,0x00,0x85,0xd3};
    static std::uint8_t sum93[32]        = {0x61,0xbe,0x08,0x06,0xec,0xf3,0x9d,0xd5,0xc0,0x2d,0x65,0x62,0x6b,0x94,0x90,0x2a,0x09,0xd5,0x48,0xc8,0xbf,0xfd,0x23,0x6d,0x07,0xb6,0xc8,0x45,0x48,0x11,0xce,0xb5};
    static int          borrow93         = 0;
    uint256_from_bytes(minuend, minuend93);
    uint256_from_bytes(subtrahend, subtrahend93);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum93, differencedata, 32) != 0 || borrow93 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend94[32]    = {0x38,0xc2,0xc3,0x9e,0xb8,0x80,0x8c,0x83,0xfd,0xe1,0x15,0x76,0x3c,0x31,0x63,0x62,0xf7,0x3c,0x9a,0x82,0x5e,0xf4,0x07,0x8e,0x28,0xe3,0xf6,0x5a,0xd9,0x85,0x92,0xee};
    static std::uint8_t subtrahend94[32] = {0x97,0x6a,0x45,0xa2,0x96,0xfc,0x31,0xa0,0x4c,0x7d,0xae,0x57,0xbf,0x8b,0x90,0xfa,0xad,0x48,0x9b,0xce,0x32,0xee,0x7f,0x64,0xf0,0x7b,0x3e,0x87,0x01,0x7a,0xa2,0x81};
    static std::uint8_t sum94[32]        = {0xa1,0x58,0x7d,0xfc,0x21,0x84,0x5a,0xe3,0xb1,0x63,0x67,0x1e,0x7c,0xa5,0xd2,0x68,0x49,0xf3,0xfe,0xb4,0x2c,0x05,0x88,0x29,0x38,0x68,0xb7,0xd3,0xd8,0x0a,0xf0,0x6d};
    static int          borrow94         = -1;
    uint256_from_bytes(minuend, minuend94);
    uint256_from_bytes(subtrahend, subtrahend94);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum94, differencedata, 32) != 0 || borrow94 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend95[32]    = {0x63,0xda,0x31,0x77,0x41,0xcb,0x71,0x2f,0x5f,0x26,0xf2,0x1f,0x52,0xec,0x51,0x27,0x78,0x81,0x75,0x48,0x1a,0xfc,0xcd,0x07,0xa7,0x0b,0x40,0x7e,0xc2,0x05,0x97,0x17};
    static std::uint8_t subtrahend95[32] = {0xcc,0x81,0x63,0x56,0x31,0xf2,0x51,0xc2,0xe9,0x9f,0x4a,0x92,0xb7,0x9c,0x2b,0x63,0x77,0xc8,0x2d,0x55,0x03,0x3a,0xac,0xd6,0xe4,0x65,0x3d,0x35,0xad,0x79,0xfd,0xdc};
    static std::uint8_t sum95[32]        = {0x97,0x58,0xce,0x21,0x0f,0xd9,0x1f,0x6c,0x75,0x87,0xa7,0x8c,0x9b,0x50,0x25,0xc4,0x00,0xb9,0x47,0xf3,0x17,0xc2,0x20,0x30,0xc2,0xa6,0x03,0x49,0x14,0x8b,0x99,0x3b};
    static int          borrow95         = -1;
    uint256_from_bytes(minuend, minuend95);
    uint256_from_bytes(subtrahend, subtrahend95);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum95, differencedata, 32) != 0 || borrow95 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend96[32]    = {0xdd,0xe3,0x74,0xd1,0x9e,0x60,0x14,0xef,0xef,0x19,0x19,0xe4,0x13,0xe9,0xd0,0xbc,0x38,0x76,0x1d,0xc7,0xd5,0x34,0xc0,0x87,0xed,0x7c,0x5d,0xa0,0x28,0x2e,0x47,0x8c};
    static std::uint8_t subtrahend96[32] = {0x56,0xfb,0xc2,0xf1,0xf8,0xe9,0x64,0x31,0x73,0xcc,0x26,0x90,0x13,0x3d,0x4b,0x63,0xa0,0xdc,0xe6,0x04,0x05,0x90,0x7f,0xd1,0xd7,0x9d,0xa6,0xa3,0x62,0x94,0x8b,0xfe};
    static std::uint8_t sum96[32]        = {0x86,0xe7,0xb1,0xdf,0xa5,0x76,0xb0,0xbe,0x7b,0x4c,0xf3,0x54,0x00,0xac,0x85,0x58,0x97,0x99,0x37,0xc3,0xcf,0xa4,0x40,0xb6,0x15,0xde,0xb6,0xfc,0xc5,0x99,0xbb,0x8e};
    static int          borrow96         = 0;
    uint256_from_bytes(minuend, minuend96);
    uint256_from_bytes(subtrahend, subtrahend96);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum96, differencedata, 32) != 0 || borrow96 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend97[32]    = {0x54,0xfc,0x94,0xa4,0x24,0x8c,0x6f,0xa6,0x5d,0xb4,0x47,0x41,0xa0,0xd0,0x9c,0x62,0x1d,0x98,0xa4,0x74,0x7a,0x3f,0xf3,0x11,0x3b,0xdf,0xae,0x68,0xd2,0xb4,0x1d,0x4f};
    static std::uint8_t subtrahend97[32] = {0x25,0x0b,0xc6,0xe7,0xe3,0xaa,0x47,0x1c,0x8d,0xa9,0xec,0x93,0x73,0x8d,0x7c,0xcc,0xb6,0xb6,0xa4,0xd2,0x2e,0x24,0x2f,0xc8,0x0e,0x85,0x9f,0x16,0xbc,0x6e,0x9d,0x5f};
    static std::uint8_t sum97[32]        = {0x2f,0xf0,0xcd,0xbc,0x40,0xe2,0x28,0x89,0xd0,0x0a,0x5a,0xae,0x2d,0x43,0x1f,0x95,0x66,0xe1,0xff,0xa2,0x4c,0x1b,0xc3,0x49,0x2d,0x5a,0x0f,0x52,0x16,0x45,0x7f,0xf0};
    static int          borrow97         = 0;
    uint256_from_bytes(minuend, minuend97);
    uint256_from_bytes(subtrahend, subtrahend97);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum97, differencedata, 32) != 0 || borrow97 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend98[32]    = {0x06,0x81,0xed,0xaf,0x27,0xdb,0x11,0x73,0x3f,0x2b,0x77,0x13,0x69,0x6a,0x86,0x17,0x6b,0x13,0x49,0x07,0x44,0x32,0x94,0x63,0x26,0x3e,0x8d,0xb3,0xde,0xe7,0xb6,0x44};
    static std::uint8_t subtrahend98[32] = {0x7d,0xb2,0xa1,0x7e,0x42,0xbb,0x68,0xde,0x2a,0xf4,0xcc,0xe5,0xcd,0xdc,0x68,0xd6,0x55,0xa2,0x5f,0x59,0x4b,0xea,0xc5,0x05,0xd6,0xed,0x9f,0xdf,0x92,0x2c,0x6c,0x73};
    static std::uint8_t sum98[32]        = {0x88,0xcf,0x4c,0x30,0xe5,0x1f,0xa8,0x95,0x14,0x36,0xaa,0x2d,0x9b,0x8e,0x1d,0x41,0x15,0x70,0xe9,0xad,0xf8,0x47,0xcf,0x5d,0x4f,0x50,0xed,0xd4,0x4c,0xbb,0x49,0xd1};
    static int          borrow98         = -1;
    uint256_from_bytes(minuend, minuend98);
    uint256_from_bytes(subtrahend, subtrahend98);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum98, differencedata, 32) != 0 || borrow98 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
    static std::uint8_t minuend99[32]    = {0x83,0x71,0xf5,0xf2,0xfa,0x86,0xf4,0xdf,0x27,0x43,0x31,0x4b,0x1d,0x3a,0x20,0x05,0x7b,0x80,0xf2,0x13,0xe7,0x36,0x08,0x61,0x74,0xc8,0x84,0x7b,0x51,0x6c,0xd4,0x5d};
    static std::uint8_t subtrahend99[32] = {0x4a,0x17,0xfe,0x93,0x63,0xe0,0x8f,0xb2,0x18,0xfa,0x02,0x9e,0x3c,0xf7,0x43,0x54,0xec,0xd2,0x07,0x3d,0x3d,0x19,0xce,0x0e,0xff,0x82,0x8a,0x31,0x42,0xf3,0x28,0x46};
    static std::uint8_t sum99[32]        = {0x39,0x59,0xf7,0x5f,0x96,0xa6,0x65,0x2d,0x0e,0x49,0x2e,0xac,0xe0,0x42,0xdc,0xb0,0x8e,0xae,0xea,0xd6,0xaa,0x1c,0x3a,0x52,0x75,0x45,0xfa,0x4a,0x0e,0x79,0xac,0x17};
    static int          borrow99         = 0;
    uint256_from_bytes(minuend, minuend99);
    uint256_from_bytes(subtrahend, subtrahend99);
    borrow = uint256_sub_borrow(sum, minuend, subtrahend);
    uint256_to_bytes(differencedata, sum);
    if (std::memcmp(sum99, differencedata, 32) != 0 || borrow99 != borrow)
    {
        throw std::runtime_error("err in uint256_sub_borrow");
    }
}
